Press "Enter" to skip to content

Fixing a PAGELATCH_UP Issue in SQL Server

Anna Hoffman reviews a paper:

This is a really interesting type of engineering paper. No new architecture, no new theory. Just a team looking hard at a bottleneck everyone had accepted for twenty years, and removing it.

The bottleneck was a single byte. Yes, really.

Concurrent Updates to Pages with Fixed-Size Rows Using Lock-Free Algorithms (VLDB 2020) is about how SQL Server keeps track of free space, and how fixing one small piece of that produced up to 5x throughput on some workloads.

Read on for Anna’s synopsis and an example of where it could help. This is built into SQL Server 2019 and later, so there’s nothing special to do, other than to be on a version of SQL Server released in the last eight years.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.