Viewing 15 posts - 526 through 540 (of 5,843 total)
Your description of TF 1204 is not correct. Please revise the article. Also, I am not sure why you would want two trace flags on that both record deadlock information....
December 13, 2016 at 8:01 am
Also look up Glenn Berry SQL Server Diagnostic Scripts and pick the one for your version of SQL Server. Numerous queries in there to find the top worst offending queries...
December 13, 2016 at 7:45 am
GilaMonster (12/13/2016)
Gut feel: there's a TOP without an ORDER BY.
Good choice. There are other reasons, but I would go with this one as well.
December 13, 2016 at 7:40 am
Does the table have a clustered index on it? If not it is a HEAP table. Deleting records from those (without TABLOCK) will NOT deallocate empty pages. I have seen...
December 13, 2016 at 7:38 am
Data value skew is the most likely cause. Or at least statistics that reflect that. Your direct query is giving the optimizer the exact value it needs to optimize for...
December 12, 2016 at 12:14 pm
GilaMonster (12/12/2016)
Indianrock (12/12/2016)
Why would SSDs generate deadlocks?
It doesn't generate deadlocks, just facilitates them.
If your workload currently is IO-bottlenecked (quite common), then the IO latencies are slowing things down. Remove those,...
December 12, 2016 at 8:55 am
1) You know what I do when I get called in to a new client that is using an ORM? I go KAAAACCCCHHHIIIIINNNGGGG! 😀 I know there is going to...
December 11, 2016 at 8:18 pm
It would REALLY help if you would give us a create table statement with sample data INSERT statements and sproc calls and their actual output and what you think the...
December 11, 2016 at 8:05 pm
I'm with Wryan138 here: CASE statement (my favorite TSQL 4-letter word!!) #FTW
December 11, 2016 at 8:00 am
All-better-fixed! 🙂
December 10, 2016 at 1:34 pm
Very slick! Sadly I seem to be unable to get to the SQLSharp.com website via multiple browsers. 🙁
December 10, 2016 at 9:12 am
Indianrock (12/9/2016)
December 9, 2016 at 11:23 am
joeroshan (12/9/2016)
Why don't you pass the parameter likeIf @alloc_id < 0
exec proc2 @alloc_id
Yep.
An ELSE may be needed to complete the needs of the OP.
Note that I ALWAYS urge clients to...
December 9, 2016 at 11:07 am
Jacob Wilkins (12/9/2016)
December 9, 2016 at 11:05 am
We need to see some code to help you. Doesn't have to be full-blown sproc, but must cover your issues completely.
December 9, 2016 at 9:26 am
Viewing 15 posts - 526 through 540 (of 5,843 total)