O'Reilly logo

Pro SQL Server Internals, Second Edition by Dmitri Korotkevitch

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Dmitri Korotkevitch 2016

Dmitri Korotkevitch, Pro SQL Server Internals, 10.1007/978-1-4842-1964-5_24

24. Designing Transaction Strategies

Dmitri Korotkevitch

(1)Tampa, Florida, USA

This rather short chapter provides a set of generic guidelines for how you can design transaction strategies and improve concurrency in the systems.

Considerations and Code Patterns

Blocking occurs when multiple sessions compete for the same set of resources. Sessions are trying to acquire incompatible locks on them, which leads to lock collision and blocking.

As you already know, SQL Server acquires the locks when it processes data. It does not matter how many rows need to be modified or returned to the client. What matters is how many rows SQL Server accesses during ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required