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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.