SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


blocking LCK_M_SCH_S, LCK_M_SCH_M


blocking LCK_M_SCH_S, LCK_M_SCH_M

Author
Message
mauriciorpp
mauriciorpp
SSC Veteran
SSC Veteran (284 reputation)SSC Veteran (284 reputation)SSC Veteran (284 reputation)SSC Veteran (284 reputation)SSC Veteran (284 reputation)SSC Veteran (284 reputation)SSC Veteran (284 reputation)SSC Veteran (284 reputation)

Group: General Forum Members
Points: 284 Visits: 260
opc.three (1/10/2013)

"Mostly Online" feels like ~60%. I'd submit "Near Online", it feels closer to 99% :-D


until today, all my "online" index rebuilds worked as expected. but just today I got a series of transactions running and SQL is not able to get the LCK_M_SCH_M and end the rebuild.

so, for me, today it feels as "not exactly online index rebuild". I would put it at 10%. Angry
Orlando Colamatteo
Orlando Colamatteo
SSC-Dedicated
SSC-Dedicated (37K reputation)SSC-Dedicated (37K reputation)SSC-Dedicated (37K reputation)SSC-Dedicated (37K reputation)SSC-Dedicated (37K reputation)SSC-Dedicated (37K reputation)SSC-Dedicated (37K reputation)SSC-Dedicated (37K reputation)

Group: General Forum Members
Points: 37266 Visits: 14411
mauriciorpp (2/12/2014)
opc.three (1/10/2013)

"Mostly Online" feels like ~60%. I'd submit "Near Online", it feels closer to 99% :-D


until today, all my "online" index rebuilds worked as expected. but just today I got a series of transactions running and SQL is not able to get the LCK_M_SCH_M and end the rebuild.

so, for me, today it feels as "not exactly online index rebuild". I would put it at 10%. Angry

If you had 1 failure out of 10 tries equating to 10% then by that accounting you can reasonably look forward to 90 error-free online rebuilds before your next failure...on average :-D

Seriously though, the 99% was not meant to be thought of as a success-rate. If you have a very busy system, even though the rebuild only asks for short-lived stability-type locks at the beginning and end of the rebuild, i.e. the rebuild displays properties of an online process during 99% of its operations and only displays offline properties for 1% of its operations, you can still run into problems during that 1% on a very regular basis on a busy system.

__________________________________________________________________________________________________
There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
mauriciorpp
mauriciorpp
SSC Veteran
SSC Veteran (284 reputation)SSC Veteran (284 reputation)SSC Veteran (284 reputation)SSC Veteran (284 reputation)SSC Veteran (284 reputation)SSC Veteran (284 reputation)SSC Veteran (284 reputation)SSC Veteran (284 reputation)

Group: General Forum Members
Points: 284 Visits: 260
you are correct, @opc.three. I just wanted to point out that even the unexpected should be expected at some point in time, given a large enough installed base.

I had to schedule this index rebuild, it took almost an hour to be able to hold a schema lock for 1 second (the table is small, around 25mb), but it worked after all!
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search