Viewing 15 posts - 46 through 60 (of 81 total)
Query 1: select * from descriptionkeywordlookup where keyword = 'X' or keyword = 'Y'
Query 2: select * from descriptionkeywordlookup where keyword like 'X%' or keyword like 'Y%'
January 9, 2012 at 7:49 am
TABLE Definition:
CREATE TABLE [dbo].[DescriptionKeywordLookup](
[Keyword] [nvarchar](255) NOT NULL,
[ItemId] [int] NOT NULL,
CONSTRAINT [PK_DescriptionKeywordLookup] PRIMARY KEY CLUSTERED
(
[Keyword] ASC,
[ItemId] ASC
)
)
--------------------------------------------------------
Execution Plans attached.
Runtime for WHERE = is 27s
Runtime for WHERE Like is 1m36s
January 9, 2012 at 7:48 am
Thanks everybody for your comments and insight.
November 15, 2011 at 9:29 am
What's the reason why the distributor should be on the publication side? I'm sorry to admit I know next to nothing about the inner workings of replication.
November 15, 2011 at 9:09 am
jared-709193 (11/15/2011)
aurato (11/15/2011)
jared-709193 (11/15/2011)
November 15, 2011 at 8:57 am
Ninja's_RGR'us (11/15/2011)
You'll get better help that way to solve your real issue...
November 15, 2011 at 8:42 am
Ninja's_RGR'us (11/15/2011)
I don't mean to be snippy and that's not my intention.I guess I'm too tired. Logging off.
It's fine. You've been extremely cordial in all my other threads...
November 15, 2011 at 8:35 am
jared-709193 (11/15/2011)
November 15, 2011 at 8:34 am
jared-709193 (11/15/2011)
Ok, so how do you know those indexes are not being used. The query you gave us is not going to tell you if these are used or not....
November 15, 2011 at 8:32 am
Ninja's_RGR'us (11/15/2011)
aurato (11/15/2011)
Ninja's_RGR'us (11/15/2011)
P.S. Check out those survey results...9 index is "nothing"
http://sqlskills.com/BLOGS/PAUL/post/Survey-nonclustered-index-counts-(code-to-run).aspx
I still wouldn't want them there if they're not being used.
You've clearly made up your mind, even before coming...
November 15, 2011 at 8:29 am
jared-709193 (11/15/2011)
November 15, 2011 at 8:27 am
Ninja's_RGR'us (11/15/2011)
P.S. Check out those survey results...9 index is "nothing"
http://sqlskills.com/BLOGS/PAUL/post/Survey-nonclustered-index-counts-(code-to-run).aspx
I still wouldn't want them there if they're not being used.
November 15, 2011 at 8:23 am
jared-709193 (11/15/2011)
aurato (11/15/2011)
November 15, 2011 at 8:22 am
Ninja's_RGR'us (11/15/2011)
aurato (11/15/2011)
As for proving a benefit, there's 9 indexes on this table and if four never get used they're just dead weight objects.
I can't make that call for you....
November 15, 2011 at 8:05 am
As for proving a benefit, there's 9 indexes on this table and if four never get used they're just dead weight objects.
November 15, 2011 at 7:57 am
Viewing 15 posts - 46 through 60 (of 81 total)