arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.11716cs.DB
收藏

数据库后端中的存储模型

Models for Storage in Database Backends

Edgard Schiebelbein, Saalik Hatia, Annette Bieniusa, Gustavo Petri, Carla Ferreira, Marc Shapiro

AI总结:

本文为数据库后端提出形式化规范,在映射和日志两种语义模型中实例化,并用Coq验证,为完整后端存储奠定基础。

摘要:

本文描述了开发数据库后端形式化规范的进行中工作。我们提出了一个基本事务系统的预期行为的形式化,该系统调用一个简单的存储API,并在两个语义模型中实例化。第一个是基于映射的经典版本化键值存储;第二个是基于日志的,将单个事务效果追加到日志中。我们在Coq证明助手中形式化了规范的重要部分。这项工作将作为完整后端存储形式化的基础,该存储具有缓存或预写日志等功能,作为映射和日志的变体。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑