Models for Storage in Database Backends A Rigorous Approach for Formally-Correct Designs

被引:0
|
作者
Schiebelbein, Edgard [1 ]
Hatia, Saalik [2 ]
Bieniusa, Annette [1 ]
Petri, Gustavo [3 ,6 ]
Ferreira, Carla [4 ]
Shapiro, Marc [2 ,5 ]
机构
[1] Univ Kaiserslautern Landau, Kaiserslautern, Germany
[2] Sorbonne Univ LIP6, Paris, France
[3] Amazon Web Serv, Cambridge, England
[4] Univ NOVA Lisboa, Lisbon, Portugal
[5] INRIA, Paris, France
[6] ARM Ltd, Cambridge, England
关键词
formal methods; verification; key-value store;
D O I
10.1145/3642976.3653036
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
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 is a map-based, classical versioned key-value store; the second, 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 be the basis for formalising a full-fledged backend store with features such as caching or write-ahead logging as variations on maps and journals.
引用
收藏
页码:58 / 66
页数:9
相关论文
empty
未找到相关数据