Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL statment hangs
Message
 
To
15/07/2015 12:55:01
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2014
Application:
Web
Miscellaneous
Thread ID:
01622049
Message ID:
01622051
Views:
52
>Today I had a pressing problem at a SQL server 2012 hosted by a client. We have not experienced this before.
>
>It hanged on a simple SELECT * FROM MyTable where there were only 400 records in this table. Even trying to get a subset of one or two records hanged.
>Querying other tables was fine. Unfortunately I was not able to any detailed analysis on it as there were many users waiting our application come live again.
>
>The ICT Department got the database live again by taking the database offline and bring it online again.
>
>I suspect there was a deadlock situation, but post mortem there is little evidence for that.
>
>We ran DBCC CheckDB on it and consistency of the database seemed fine.
>
>Has anyone had this experience before? Any hints of what might have happened as I believed that the deadlock should have been taken care of automatically. Any SQL server 2012 settings to take a look at ?
>
>Any help is appreciated.
>
>Walter,

Something like that happened to us when Two maintenance plans on the same DB conflict each other.
Both are scheduled on different time 2 or 3 hours between them BUT when the first can not finish its job and the second one started, then such lock may occur. I don't know why SQL Server didn't close one of them ;-)

So, check Maintenance plans or SQL Server Agent logs.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform