Viewing 15 posts - 2,776 through 2,790 (of 5,843 total)
For best performance there is no "it depends" - go with bigint over uniqueidentifier. Actually, in this case you could almost certainly get away with an int, which is...
November 6, 2012 at 9:17 am
I would love to have the luxury of working alongside a performance tuning expert because it certainly isn't my strongest area!
I happen to know one of the best!...
October 31, 2012 at 11:13 am
1) Funny that you call this fairly simple. That is a beast of a query, with MANY joins, MANY CPU-burning operations (CASES, hash joins, aggregates,etc).
2) There is a CONVERT_IMPLICIT...
October 31, 2012 at 9:01 am
Increasing RAM from 4 to 16GB will only help if a) you have an edition of windows/SQL Server that can support that much and b) if 32 bit you configure...
October 31, 2012 at 8:51 am
I agree with Lynn - this is sounding more and more like a service broker opportunity.
October 30, 2012 at 7:24 am
sys.dm_exec_query_plan ( plan_handle ) has a dbid field.
October 26, 2012 at 10:38 am
SQLSACT (10/25/2012)
Grant Fritchey (10/23/2012)
October 26, 2012 at 8:04 am
You cannot interchange UDFs and sprocs. They can be similar if they both output a variable, but you cannot "join" to the tabular output of a sproc.
October 26, 2012 at 8:02 am
1) I suppose the failure of some system action could cause SQL to barf (just a supposition here)
2) SQL 2005 SP3 is unsupported by Microsoft
October 26, 2012 at 8:01 am
What about autogrowths? Perhaps you are stalling out regularly due to those on server 1 but with server 2 having more free space in tlog you aren't autogrowing (which...
October 26, 2012 at 7:54 am
I will also note you are joining on mis-matched datatypes (or doing an unnecessary convert), which is also suboptimal.
October 25, 2012 at 10:30 am
Well, the mirror has to have writes to affect the changes brought over from the tlog on the primary so I would expect actual writes to be higher than the...
October 25, 2012 at 10:28 am
1) sp_whoisactive can help you see locking waits in real time (along with a TON of other useful features - and it is FREE)
2) the most common cause of lock...
October 24, 2012 at 7:06 am
BRIAN.ALLEN (10/23/2012)
October 23, 2012 at 3:35 pm
Can you check all the input buffers from the error log entries to see if there is some common thread amongst the sproc parameters? Maybe a funky character is...
October 23, 2012 at 9:09 am
Viewing 15 posts - 2,776 through 2,790 (of 5,843 total)