Online Timestamp-based Transactional Isolation Checking of Database Systems (Extended Version)

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Li, Hexu, Wei, Hengfeng, Ouyang, Hongrong, Chen, Yuxing, Yang, Na, Zhang, Ruohao, Pan, Anqun
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866915223268491264
author Li, Hexu
Wei, Hengfeng
Ouyang, Hongrong
Chen, Yuxing
Yang, Na
Zhang, Ruohao
Pan, Anqun
author_facet Li, Hexu
Wei, Hengfeng
Ouyang, Hongrong
Chen, Yuxing
Yang, Na
Zhang, Ruohao
Pan, Anqun
contents Serializability (SER) and snapshot isolation (SI) are widely used transactional isolation levels in database systems. The isolation checking problem asks whether a given execution history of a database system satisfies a specified isolation level. However, existing SER and SI checkers, whether traditional black-box checkers or recent timestamp-based white-box ones, operate offline and require the entire history to be available to construct a dependency graph, making them unsuitable for continuous and ever-growing histories. This paper addresses online isolation checking by extending the timestamp-based isolation checking approach to online settings. Specifically, we design CHRONOS, an efficient timestamp-based offline SI checker. CHRONOS is incremental and avoids constructing a start-ordered serialization graph for the entire history, making it well-suited for online scenarios. We further extend CHRONOS into an online SI checker, AION, addressing several key challenges unique to online settings. Additionally, we develop AION-SER for online SER checking. Experiments highlight that CHRONOS processes offline histories with up to one million transactions in seconds, greatly outperforming existing SI checkers. Furthermore, AION and AION-SER sustain a throughput of approximately 12K transactions per second, demonstrating their practicality for online isolation checking.
format Preprint
id arxiv_https___arxiv_org_abs_2504_01477
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Online Timestamp-based Transactional Isolation Checking of Database Systems (Extended Version)
Li, Hexu
Wei, Hengfeng
Ouyang, Hongrong
Chen, Yuxing
Yang, Na
Zhang, Ruohao
Pan, Anqun
Databases
Serializability (SER) and snapshot isolation (SI) are widely used transactional isolation levels in database systems. The isolation checking problem asks whether a given execution history of a database system satisfies a specified isolation level. However, existing SER and SI checkers, whether traditional black-box checkers or recent timestamp-based white-box ones, operate offline and require the entire history to be available to construct a dependency graph, making them unsuitable for continuous and ever-growing histories. This paper addresses online isolation checking by extending the timestamp-based isolation checking approach to online settings. Specifically, we design CHRONOS, an efficient timestamp-based offline SI checker. CHRONOS is incremental and avoids constructing a start-ordered serialization graph for the entire history, making it well-suited for online scenarios. We further extend CHRONOS into an online SI checker, AION, addressing several key challenges unique to online settings. Additionally, we develop AION-SER for online SER checking. Experiments highlight that CHRONOS processes offline histories with up to one million transactions in seconds, greatly outperforming existing SI checkers. Furthermore, AION and AION-SER sustain a throughput of approximately 12K transactions per second, demonstrating their practicality for online isolation checking.
title Online Timestamp-based Transactional Isolation Checking of Database Systems (Extended Version)
topic Databases
url https://arxiv.org/abs/2504.01477