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