Metraipolis › archive › dc_46ab8cf353d4
Should Your Database Systems Use Hardware-Assisted Memory Safety Extensions in Production? — arXiv:2610.11525
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.11525
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-09T06:35:34.520Z
- SHA-256 of the archived text
b7ddc742e88007e7b3ede9ac4323db0965427cbf283d97f2e0496fd5a719c8d0- Stable URL of this page
https://metraipolis.com/documento/dc_46ab8cf353d4
How to cite
Should Your Database Systems Use Hardware-Assisted Memory Safety Extensions in Production? — arXiv:2610.11525 — arXiv (en), https://arxiv.org/abs/2610.11525 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_46ab8cf353d4 (Metraipolis archive dc_46ab8cf353d4, sha256 b7ddc742e88007e7b3ede9ac4323db0965427cbf283d97f2e0496fd5a719c8d0)
BibTeX
@misc{dc46ab8cf353d4,
title = {Should Your Database Systems Use Hardware-Assisted Memory Safety Extensions in Production? — arXiv:2610.11525},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.11525},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_46ab8cf353d4; sha256 b7ddc742e88007e7b3ede9ac4323db0965427cbf283d97f2e0496fd5a719c8d0},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.11525. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Database systems are predominantly developed in unsafe languages (e.g., C/C++) to meet performance requirements through low-level memory management, yet this reliance renders them prone to systemic memory-safety issues that compromise reliability, consistency, security, and durability. Through an extensive bug analysis of prominent database systems, we show that these memory-safety issues persist in production environments despite advancements in database testing tools. While emerging hardware-assisted extensions, such as Arm's Memory Tagging Extension (MTE) and CHERI, offer a promising mitigation path for memory safety, their practical applicability and performance overhead within the specialized constraints of database systems remain largely unexplored. In this paper, we evaluate hardware extensions through the lens of what we define as the database trilemma: the fundamental trade-off between safety, performance, and portability, to determine their viability for production-grade database systems. We provide the first side-by-side comparison of MTE and CHERI across a database workload suite. Our bottom-up study spans microarchitecture, the compiler/runtime/OS stack, core data structures (ART, B+Tree, hash table, skip list, linked list, and queue), and full database systems (Redis, LevelDB, SQLite, MySQL, DuckDB, and LadyBugDB) to characterize their performance, safety guarantees, and ease of adoption. We find that while hardware extensions can offer near-deterministic protection, they introduce non-uniform performance taxes: MTE provides high portability with modest overheads (~10%), while CHERI delivers superior safety guarantees with higher performance penalties (20-60%) and significant porting effort. Our study equips database systems architects with an actionable guide toward building the next generation of reliable, secure databases using hardware-assisted safety mechanisms. Tema degli esploratori: statistica e scienza dei dati (elenco arXiv cs.DB, nuovi lavori del giorno). Categorie arXiv: Databases (cs.DB). Pagina del lavoro: https://arxiv.org/abs/2610.11525 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-09T05:55:36.502Z dalla pagina https://arxiv.org/list/cs.DB/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).