Scalable and robust latches for database systems

Jan Böttcher, Viktor Leis, Jana Giceva, Thomas Neumann, Alfons Kemper

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

18 Scopus citations

Abstract

Multi-core scalability is one of the most important features for database systems running on today's hardware. Not surprisingly, the implementation of locks is paramount to achieving efficient and scalable synchronization. In this work, we identify the key database-specific requirements for lock implementations and evaluate them using both micro-benchmarks and full-fledged database workloads. The results indicate that optimistic locking has superior performance in most workloads due to its minimal overhead and latency. By complementing optimistic locking with a pessimistic shared mode lock we demonstrate that we can also process HTAP workloads efficiently. Finally, we show how lock contention can be handled gracefully without slowing down the uncontented fast path or increasing space requirements by using a lightweight parking lot infrastructure.

Original languageEnglish
Title of host publicationProceedings of the 16th International Workshop on Data Management on New Hardware, DaMoN 2020
PublisherAssociation for Computing Machinery
ISBN (Electronic)9781450380249
DOIs
StatePublished - 15 Jun 2020
Event16th International Workshop on Data Management on New Hardware, DaMoN 2020 - Portland, United States
Duration: 15 Jun 2020 → …

Publication series

NameProceedings of the 16th International Workshop on Data Management on New Hardware, DaMoN 2020

Conference

Conference16th International Workshop on Data Management on New Hardware, DaMoN 2020
Country/TerritoryUnited States
CityPortland
Period15/06/20 → …

Fingerprint

Dive into the research topics of 'Scalable and robust latches for database systems'. Together they form a unique fingerprint.

Cite this