O'Reilly logo

SQL Server 2008 Query Performance Tuning Distilled by Grant Fritchey, Sajal Dam

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 12. Blocking Analysis

You would ideally like your database application to scale linearly with the number of database users and the volume of data. However, it is common to find that performance degrades as the number of users increases and as the volume of data grows. One cause for degradation is blocking. In fact, database blocking is usually the biggest enemy of scalability for database applications.

In this chapter, I cover the following topics:

  • The fundamentals of blocking in SQL Server

  • The ACID properties of a transactional database

  • Database lock granularity, escalation, modes, and compatibility

  • ANSI isolation levels

  • The effect of indexes on locking

  • The information necessary to analyze blocking

  • A SQL script to collect blocking information ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required