Long-lived Transactions Made Less Harmful
- Title
- Long-lived Transactions Made Less Harmful
- Author
- 강수용
- Keywords
- MVCC; record versioning; long-lived transactions
- Issue Date
- 2020-06
- Publisher
- ACM
- Citation
- Proceedings of the 2020 ACM SIGMOD International Conference on Management of Data, page. 495-510
- Abstract
- Many systems use snapshot isolation, or something similar, as defaults, and multi-version concurrency control (MVCC) remains essential to offering such point-in-time consistency. One major issue in MVCC is the timely removal of unnecessary versions of data items, especially in the presence of long-lived transactions (LLTs). We have observed that the latest versions of MySQL and PostgreSQL are still vulnerable to LLTs. Our analysis of existing proposals suggests that new solutions to this matter must provide rigorous rules for completely identifying unnecessary versions, and elaborate designs for version cleaning lest old versions required for LLTs should suspend garbage collection. In this paper, we formalize such rules into our version pruning theorem and version classification, of which all form theoretical foundations for our new version management system, vDriver, that bases its record versioning on a new principle: Single Inrow Remaining Off-row (SIRO) versioning. We implemented a prototype of vDriver and integrated it with MySQL-8.0 and PostgreSQL-12.0. The experimental evaluation demonstrated that the engines with vDriver continue to perform the reclamation of dead versions in the face of LLTs while retaining transaction throughput with reduced space consumption.
- URI
- https://dl.acm.org/doi/10.1145/3318464.3389714https://repository.hanyang.ac.kr/handle/20.500.11754/167588
- ISBN
- 978-1-4503-6735-6
- DOI
- 10.1145/3318464.3389714
- Appears in Collections:
- COLLEGE OF ENGINEERING[S](공과대학) > COMPUTER SCIENCE(컴퓨터소프트웨어학부) > Articles
- Files in This Item:
There are no files associated with this item.
- Export
- RIS (EndNote)
- XLS (Excel)
- XML