Deadlock troubleshooting in Sql Server 2008

后端 未结 3 611
北海茫月
北海茫月 2020-12-05 19:37

My website doesn\'t seem to handle a high number of visitors, I believe it\'s because the server is too simple.

2 hours ago my website was getting a lot of hits and

3条回答
  •  离开以前
    2020-12-05 20:12

    Writes will block reads on SQL Server, unless you have row versioning enabled. You should use the sp_who2 stored procedure and a SQL Profiler trace. sp_who2 will tell you which processes are blocking which, and the profiler will tell you what the last statement was for the blocking process.

提交回复
热议问题