Inside Microsoft® SQL Server™ 2005: Query Tuning and Optimization
by Kalen Delaney, Sunil Agarwal, Craig Freedman, Ron Talmage, Adam Machanic
Summary
Troubleshooting concurrency issues in SQL Server 2005 primarily involves dealing with and resolving locking, blocking, and deadlocking issues. SQL Server 2005 provides you many new tools for detecting, analyzing, and resolving these issues. For detecting and resolving blocking, new dynamic management views allow you to monitor waiting tasks and discover the queries causing blocking. In addition, the new SQL Trace Blocked Process Report event class allows you to view blocking meeting a certain threshold and store the results for later analysis. For detecting and resolving deadlocks, SQL Server 2005 provides new deadlock reporting options with the 1222 trace flag and the SQL Trace Deadlock Graph event class. For reducing shared locking, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access