Viewing 15 posts - 166 through 180 (of 209 total)
I just tried this too on a table with 1 million rows, and whilst I agree that it chooses the NC index in preference to the clustered index, the estimated...
March 31, 2006 at 9:38 am
I'm totally with those people who gave replies like "it depends", and, more importantly, "try and test".
You can't give a hard and fast recommendation for a standard indexing strategy,...
March 30, 2006 at 9:44 am
Well, I've had substantial speed improvements on RAID1 disks, so I see no reason why RAID5 shouldn't benefit as well, even with caching. Granted, caching will reduce the effects...
March 30, 2006 at 7:37 am
As an update to the previous posts, I happened to try this again in SQL2005, just to demonstrate the effect to a colleague.
It doesn't do it! SQL2005 happily...
March 30, 2006 at 7:12 am
Sounds plausible Martin. I'll set up a test to see if this is the case. All the same, the test I ran in SQLServer2005 (which appeared to...
March 14, 2006 at 11:14 am
sysperfinfo doesn't hold any CPU data, though. It only holds SQLServer counters, not system counters. There's no way that I know of for getting this information directly from...
March 7, 2006 at 6:24 am
Impossible to say really without knowing what the distribution of data is like in each of the columns. If more than about 10,000 rows in COL_666 match the value...
March 3, 2006 at 10:34 am
For printing, the non-graphical showplan is best. Before you run your query in QA, execute the following:
SET SHOWPLAN_TEXT ON
SET NOEXEC ON
Now run your query by pressing F5 or the...
February 17, 2006 at 3:58 am
If you start a Profiler trace, filtering on the dbid and objectid for the table in question, and capturing any T-SQL commands against it, you ought to catch the...
February 17, 2006 at 3:42 am
Something I ommitted to mention -
As part of the copy, I actually specify an additional identity column (bigint) on the new table. I then update the adjacent column...
February 15, 2006 at 10:41 am
The "index" _WA_Sys_COMPANY_6576FE24 is actually distribution statistics automatically generated for that column. Autostatistics just happen to show up like indexes, and in fact are stored in the sysindexes...
February 15, 2006 at 9:41 am
Yes, Dave - I'm not used to you being subtle 🙂 When did this start?
February 14, 2006 at 9:25 am
Already did that - specified @updateusage with the sp_spaceused command.
February 14, 2006 at 4:30 am
I think we may all have missed an obvious point here (or perhaps it's only just dawned on me?)
When calling the dynamic SQL using sp_executesql, we've just called a...
February 14, 2006 at 3:01 am
The important thing to understand about non-clustered indexes is that they are AWFUL at returning large numbers of rows. Jo quotes 10% as the cutoff point after which a...
February 13, 2006 at 6:11 am
Viewing 15 posts - 166 through 180 (of 209 total)