Viewing 15 posts - 3,331 through 3,345 (of 5,841 total)
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...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
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...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
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,...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
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...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
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...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 8, 2011 at 1:24 pm
WayneS (6/7/2011)
TheSQLGuru (6/7/2011)
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
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...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 7, 2011 at 3:51 pm
WayneS (6/7/2011)
cgrammont (6/7/2011)
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
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...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
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...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
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.
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 6, 2011 at 10:29 am
sqldba_icon (6/6/2011)
sELECT Row_number()...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
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...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 6, 2011 at 9:33 am
Shark Energy (6/5/2011)
During a recent outage the physical server was brought back...
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 6, 2011 at 8:33 am
PhilipC (6/5/2011)
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
June 6, 2011 at 8:23 am
Viewing 15 posts - 3,331 through 3,345 (of 5,841 total)