Viewing 15 posts - 31 through 45 (of 278 total)
Hi Ananda
As for what will happen when you clear stats - the numbers in the DMV are cummulative over time, and clearing them would start values at zero again (wait...
March 3, 2011 at 4:21 am
Awesome info, Paul - thanks for that.
Time to write an article (or ten), maybe...? 🙂
Well, I managed to reproduce the error on our test system with MAXDOP = 1.
Looks like...
March 1, 2011 at 8:45 am
Sorry, I can't think of anything else to suggest without being able to see what you're seeing.
March 1, 2011 at 7:29 am
Hmmmm. Tab characters maybe? Does paste special/Text help at all?
March 1, 2011 at 7:21 am
you can right click on the results grid and save as .CSV, then open it up in Excel, see if that works.
March 1, 2011 at 7:10 am
Ola Andre
I don't speak Spanish/Portuguese but I think you are looking for PIVOT:
http://msdn.microsoft.com/en-us/library/ms177410%28v=SQL.100%29.aspx
Edit: Actually, maybe not 🙂
March 1, 2011 at 6:45 am
SQLkiwi (2/28/2011)
February 28, 2011 at 10:27 am
SQLkiwi (2/28/2011)
Excellent quality answers - thank you! On the XML plan thing, I should have made it clearer that you are looking for WithOrderedPrefetch or WithUnOrderedPrefetch, not With(un)OrderedPrefetch.
Ah, gotcha...
February 28, 2011 at 8:03 am
Answers in bold inline. Thanks so much for your time with this
SQLkiwi (2/28/2011)
mazzz (2/28/2011)
So, 12 million row locks and only 2 lock promotions, only 2 attempts?
Are you certain...
February 28, 2011 at 6:04 am
Thanks Paul
The version is indeed 10.00.4000, ie SP2.
sys.dm_db_index_operational_stats show the following for the offending table/index:
leaf insert count 8283880
nonleaf insert count 26707
row lock count 12352306
page lock count 56674
index lock promotion attempt...
February 28, 2011 at 4:55 am
SQLkiwi (2/27/2011)
mazzz (2/27/2011)
February 27, 2011 at 3:58 am
Thanks Paul. I'm pretty sure both Test and Live servers are at SP2 as they're both fairly recent installs, but will double check tomorrow when I'm back in the office.
February 27, 2011 at 3:49 am
UMG Developer (2/25/2011)
I think you are pretty safe in that the issue is with the database design/code and not a server issue, so I would push back on the 3rd...
February 25, 2011 at 12:01 pm
UMG Developer (2/25/2011)
SPID 22 is probably a system session, so it shouldn't be causing the problem. (SPIDs under 50 are almost always system...
February 25, 2011 at 11:49 am
Thanks for responding. I think it's still the default? config_value presumably?
name minimum maximum config_value run_value
locks 5000 ...
February 25, 2011 at 9:53 am
Viewing 15 posts - 31 through 45 (of 278 total)