Viewing 15 posts - 4,846 through 4,860 (of 5,843 total)
I have found the following two articles by Hugo Kornelios very informative with regards to cursor optimizations: http://sqlblog.com/blogs/hugo_kornelis/archive/2007/11/21/curious-cursor-optimization-options.aspx and http://sqlblog.com/blogs/hugo_kornelis/archive/2007/11/28/poor-men-see-sharp-ndash-more-cursor-optimization.aspx.
December 24, 2008 at 7:58 am
The best help we can give you has already been given: reference Books Online (BOL). See here as a starting place for your studies: ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/udb9/html/7d913c8d-b79b-4b1f-93b9-098dd33b07a8.htm.
That link goes...
December 23, 2008 at 8:02 am
Well, some manuals (especially these days) aren't very good. But the 'softies really did a nice job with SQL Server's BOL! Most people don't know that. I...
December 22, 2008 at 8:37 am
1) As someone else mentioned, partitioning IS and advanced topic. You really should get a a professional to assist you in this endeavour.
2) It is possible that...
December 22, 2008 at 8:34 am
I post this for the benefit of others who may search the forums: PLEASE check Books Online before posting questions! It is a WONDERFUL resource! I put...
December 21, 2008 at 5:07 pm
Peso (12/17/2008)
A primary key can have 100% since all records are unique.
An IDENTITY can also have 100% since the values are sequential.
An...
December 18, 2008 at 8:57 am
1) what else is running on the server?
2) what is maxdop setting at the sql server level and are you seeing a lot of parallel queries?
3) Have you run track_waitstats_2005?...
December 18, 2008 at 8:36 am
I had zoned out when I posted that this date table is more granular than day. :hehe:
December 18, 2008 at 8:20 am
CheeseMan316 (12/17/2008)
mike.byrnes (12/17/2008)
If my calculations are correct, then if each year took 5Mb then 200 years would be 1 Gb worth of data, not 100Mb.
I guess I was incorrect that...
December 17, 2008 at 11:21 am
Jeff, I am very interested in your findings! Perhaps this is one of those "step outside the box" situations where we all come out with something very useful and...
December 17, 2008 at 8:42 am
Could be worth a try to run the query using the OPTION (RECOMPILE) directive on production to see if it changed the plan.
December 16, 2008 at 5:07 am
Are you 100% certain that all objects involved in the query are 100% identical?
December 15, 2008 at 7:45 am
Thanks for the repro Gail! Clearly either my memory is faulty (wouldn't be the first time and it seems to be happening more and more since the birth of...
December 9, 2008 at 2:50 pm
GilaMonster (12/9/2008)
TheSQLGuru (12/9/2008)
Ballpark the optimizer will switch to scan when it estimates you are asking for somewhere between 8 and 15% of the total number of rows in the table.
Depends...
December 9, 2008 at 12:24 pm
The optimizer is cost-based. An index seek/bookmark lookup of a given depth takes X cost per row. A table (or clustered-index range) scan takes Y cost per page....
December 9, 2008 at 7:58 am
Viewing 15 posts - 4,846 through 4,860 (of 5,843 total)