Viewing 15 posts - 3,331 through 3,345 (of 5,843 total)
data value distribution skew can ABSOLUTELY cause the optimizer to estimate rowcounts that will lead to a plan that mathematically is most efficient based on the estimate but which due...
June 9, 2011 at 8:06 am
1) are you getting partition elimination in the query? my guess is not - either your query isn't written to allow this or you are getting screwed by the...
June 9, 2011 at 8:02 am
1) cost threshold for parallelism of 5 is almost universally too low. I recommend 10-15 for oltp-type boxes and 25-40 for olap boxes, then monitor for cxpacket waits.
2) max...
June 9, 2011 at 7:59 am
1) you do NOT want /PAE on with /3GB.
2) why in the world is someone building a windows server 2003 box in this day and age?? it was...
June 9, 2011 at 7:54 am
1) try queries with OPTION (MAXDOP 1), just for posterity's sake
2) if this query can't possibly result in duplicates, use UNION ALL instead. that will avoid a SORT/DISTINCT operation:
SELECT itp.InvoiceKey,...
June 8, 2011 at 1:36 pm
1) NEVER EVER put inserted/deleted values into variables (unless you are doing a cursor in the trigger, in which case you have other problems). :w00t: I guarantee you without...
June 8, 2011 at 1:26 pm
WayneS (6/7/2011)
TheSQLGuru (6/7/2011)
I was giving my own presentation @ sqlsat77 while yours was in progress. 😀
Ah, so you were. I heard it went pretty well.
As long as they have fairly...
June 8, 2011 at 1:24 pm
WayneS (6/7/2011)
TheSQLGuru (6/7/2011)
June 7, 2011 at 6:18 pm
I applaud you Wayne for thinking outside the box on this with a switch to an mTVF. I am sure you aware that the optimizer can no integrage the...
June 7, 2011 at 3:51 pm
WayneS (6/7/2011)
cgrammont (6/7/2011)
June 7, 2011 at 10:04 am
dji (6/6/2011)
I bought a new laptop recently, intel i7 quadcore, 4gb ram. Loaded SQL 2008 R2 attached my db featured in this thread and ran this query.
Return...
June 7, 2011 at 9:46 am
I just spent a few minutes looking at one of your later plans. It is my belief that you have no hope of significant improvements based on your current...
June 6, 2011 at 2:38 pm
I am at a loss. I have never heard of this happening other than for attach/create for attach rebuild log type scenarios.
June 6, 2011 at 10:29 am
sqldba_icon (6/6/2011)
sELECT Row_number()...
June 6, 2011 at 10:20 am
Shark Energy (6/6/2011)
The chain of errors reads -
- Device activation error. The physical file name 'E:\Program Files\MSSQL\Logs\reporting_log.LDF' may be incorrect.
- Attempting to rebuild primary...
June 6, 2011 at 9:33 am
Viewing 15 posts - 3,331 through 3,345 (of 5,843 total)