October 2018
Intermediate to advanced
326 pages
7h 17m
English
This chapter will discuss the key concept in SQL Server concurrency—locks. It will provide an overview of the major lock types in SQL Server, explain their compatibility, and, finally, demonstrate how different transaction isolation levels affect the lifetime of the locks in the system.
SQL Server uses locking to support the isolation requirements of the transaction. Every lock, in a nutshell, is an in-memory structure managed by a SQL Server component called the lock manager. Each lock structure uses 64 bytes of memory on the 32-bit and ...
Read now
Unlock full access