Viewing 15 posts - 766 through 780 (of 5,843 total)
ROWS is (almost ?) ALWAYS offers MUCH better performance than RANGE! Try your best to use ROWS when possible.
September 12, 2016 at 11:25 am
ChrisM@Work (9/12/2016)
Phil Parkin (9/12/2016)
Don't explicitly drop the #temp table
Hi Chris. Can you explain a little how not dropping the temp table affects things, please?
From memory Phil, if you explicitly drop...
September 12, 2016 at 6:44 am
I have a STRONG vote for OPTION (RECOMPILE). That way you always get the best chance for the "optimal" plan no matter what your input(s) are.
September 11, 2016 at 7:39 am
rajemessage 14195 (9/9/2016)
yes i think this was the reasonwell some body said DBCC UPDATEUSAGE (0); is also needed, is it correct?
That should not be needed on modern versions of SQL...
September 9, 2016 at 7:32 am
Which query is slower?
sp_whoisactive to find currently-running stuff that is waiting/blocked.
Get a copy of Glenn Berry's SQL Server Diagnostic Scripts and use the goodness therein to find bad things.
September 7, 2016 at 12:26 pm
sp_whoisactive can be put into a table and track/trend
Glenn Berry's SQL Server Diagnostics scripts have lots of things you can store in a table and track/trend (file IO stalls and...
September 6, 2016 at 9:58 am
ichervin (9/6/2016)
Hello All,I have setup a MDW and it was working fine until recently. Now I get No Data Available. How do I troubleshoot it?
Thanks.
Honestly you simply stop using it....
September 6, 2016 at 9:06 am
gary789 (9/5/2016)
I think i've just worked this out... its spills.
I've not noticed in the past but on checking some execution plans there are spill warnings for tempdb.
This points to...
September 5, 2016 at 5:33 pm
mikes84 (9/2/2016)
One more question -- If I plan to use Ola Hallengren's maintenance scripts for full, differential, and transaction log backups (or even if I create...
September 2, 2016 at 1:10 pm
1) Insert the data into a table on the linked server and access it directly from there with the local sproc.
2) Use a table valued parameter to pass the data...
September 2, 2016 at 10:22 am
mikes84 (9/2/2016)
And just to clarify, you would recommend Log Shipping over mirroring or replication? Also, I assume...
September 2, 2016 at 10:21 am
1) What metric you gave do you think indicates that SQL Server has lots of free RAM do devote to temp objects?
2) TSQL ad hoc queries can create explicit temp...
September 2, 2016 at 10:14 am
1) If you put indexed views on top of an OLTP database you can DESTROY that application's performance and concurrency!! And by destroy I mean make absolutely unusable.
2) There are...
September 2, 2016 at 9:38 am
I don't know about the issue, but I will say PLEASE DON'T USE DTA unless you REALLY REALLY know what you are doing!!!! And if you do, then you won't...
September 2, 2016 at 9:32 am
ScottPletcher (8/31/2016)
TheSQLGuru (8/31/2016)
August 31, 2016 at 2:35 pm
Viewing 15 posts - 766 through 780 (of 5,843 total)