Skeena: Efficient and Consistent Cross-Engine Transactions

Jianqiu Zhang, Kaisong Huang, Tianzheng Wang, King Lv
8/2/2021
cs.DB

Official code: sfu-dis/skeena (21 stars, C++, last commit 2023-05-11).

Abstract

Database systems are becoming increasingly multi-engine. In particular, a main-memory database engine may coexist with a traditional storage-centric engine in a system to support various applications.

Show full abstract

It is desirable to allow applications to access data in both engines using cross-engine transactions. But existing systems are either only designed for single-engine accesses, or impose many restrictions by limiting cross-engine transactions to certain isolation levels and table operations. The result is inadequate cross-engine support in terms of correctness, performance and programmability. This paper describes Skeena, a holistic approach to cross-engine transactions. We propose a lightweight snapshot tracking structure and an atomic commit protocol to efficiently ensure correctness and support various isolation levels. Evaluation results show that Skeena maintains high performance for single-engine transactions and enables cross-engine transactions which can improve throughput by up to 30x by judiciously placing tables in different engines.

View on arXivView PDF

Code Implementations(1)

sfu-dis/skeenaOfficial100%

Skeena: Efficient and Consistent Cross-Engine Transactions (SIGMOD 2022, ACM SIGMOD Research Highlights Award 2022)

213C++, CMar 12, 20223 years ago
cross-engine-transactionsdbms-engine-architectureermiainnodbmain-memory-database+2 more

Similar Papers

Cite this paper

@article{zhang2021skeena,
  title  = {Skeena: Efficient and Consistent Cross-Engine Transactions},
  author = {Jianqiu Zhang and Kaisong Huang and Tianzheng Wang and King Lv},
  year   = {2021},
  eprint = {2108.00632},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.00632}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2108.00632.svg)](https://codeofpaper.com/paper/2108.00632)

Discussion