English

Models for Storage in Database Backends

Databases 2024-03-19 v1

Abstract

This paper describes ongoing work on developing a formal specification of a database backend. We present the formalisation of the expected behaviour of a basic transactional system that calls into a simple store API, and instantiate in two semantic models. The first one is a map-based, classical versioned key-value store; the second one, journal-based, appends individual transaction effects to a journal. We formalise a significant part of the specification in the Coq proof assistant. This work will form the basis for a formalisation of a full-fledged backend store with features such as caching or write-ahead logging, as variations on maps and journals.

Keywords

Cite

@article{arxiv.2403.11716,
  title  = {Models for Storage in Database Backends},
  author = {Edgard Schiebelbein and Saalik Hatia and Annette Bieniusa and Gustavo Petri and Carla Ferreira and Marc Shapiro},
  journal= {arXiv preprint arXiv:2403.11716},
  year   = {2024}
}

Comments

Workshop on Principles and Practice of Consistency for Distributed Data (PaPoC), EuroSys (ACM), Apr 2024, Ath{\`e}nes, Greece

R2 v1 2026-06-28T15:24:06.440Z