Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12963

Specialist Database

$
0
0

Hi, 

I am facing issue of deadlock and exclusive locks on some of tables for Hybris application. Using MSSQL 2008 R2 standard edition.

Case is Update hits database and take X lock on val1 record and goes in sleeping mode. When update is in sleeping mode and lock is not release, during that all select comes to that table get suspended. That is creating some deadlock or intensive blocking in database. 

As of now i have applied following solutions: 

- Covering index has been introduced for some of columns in select

- Updated STATS for tables in scope of UPDATE and SELECT 

- Rebuilt indexes on regular basis 

But problem frequency is reduced but not permanently resolved. Any help appreciated here.. 



Viewing all articles
Browse latest Browse all 12963

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>