开发者

Deadlock issue in SQL Server

开发者 https://www.devze.com 2023-03-04 21:08 出处:网络
I have 2 teams working in my project, one is extracting data from Table Customer & Products and the other team is trying to view the data from those tables. Both of them开发者_如何学运维 are perfo

I have 2 teams working in my project, one is extracting data from Table Customer & Products and the other team is trying to view the data from those tables. Both of them开发者_如何学运维 are performing the operation simultaneously. This is causing a deadlock. How do I solve the issue?


Use Read Committed Snapshot isolation if you are using SQL Server 2005 and above. This way your readers would not block writers.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号