Skip to Main Content
SQL Server DMVs in Action
book

SQL Server DMVs in Action

by Ian Stirk
May 2011
Intermediate to advanced content levelIntermediate to advanced
352 pages
11h 27m
English
Manning Publications
Content preview from SQL Server DMVs in Action

Chapter 8. Resolving transaction issues

 

This chapter covers
  • 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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

SQL Server Query Performance Tuning,Fourth Edition

SQL Server Query Performance Tuning,Fourth Edition

Grant Fritchey
Pro SQL Server Internals

Pro SQL Server Internals

Dmitri Korotkevitch
SQL Server T-SQL Recipes, Fourth Edition

SQL Server T-SQL Recipes, Fourth Edition

Jason Brimhall, Jonathan Gennick, Wayne Sheffield

Publisher Resources

ISBN: 9781935182733Publisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link