Chapter 8. Resolving transaction issues
- Transactions, locks, blocks, and deadlocks
- Sessions, connections, and requests
- Methods to minimize contention and improve concurrency and performance
A query may run fast when it runs alone, taking advantage of all available resources without the impact of other running queries. But in the real world it needs to interact with other running queries, each requiring resources and coordination to reduce contention.
To enable queries to run concurrently, resources need to be shared, and data needs to be protected so it’s able to give consistent and correct values. Therefore, there’s often a trade-off between data consistency and concurrency. Many factors can affect both consistency ...
Get SQL Server DMVs in Action 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.