Chapter 12

images

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 ...

Get SQL Server 2012 Query Performance Tuning, Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.