Deductive Optimization of Relational Data Storage

John K. Feser, Samuel Madden, Nan Tang, Armando Solar-Lezama
3/8/2019
cs.PLcs.DB

Official code: jfeser/castor (13 stars, OCaml, MIT, last commit 2023-07-18).

Abstract

Optimizing the physical data storage and retrieval of data are two key database management problems. In this paper, we propose a language that can express a wide range of physical database layouts, going well beyond the row- and column-based methods that are widely used in database management systems.

Show full abstract

We use deductive synthesis to turn a high-level relational representation of a database query into a highly optimized low-level implementation which operates on a specialized layout of the dataset. We build a compiler for this language and conduct experiments using a popular database benchmark, which shows that the performance of these specialized queries is competitive with a state-of-the-art in memory compiled database system.

View on arXivView PDF

Code Implementations(1)

jfeser/castorOfficial100%
MIT

Deductive synthesis and compilation of specialized databases.

130OCaml, C++Oct 5, 20173 years agoMIT
compilerdatabasedeductive-reasoningprogram-synthesis

Similar Papers

Cite this paper

@article{feser2019deductive,
  title  = {Deductive Optimization of Relational Data Storage},
  author = {John K. Feser and Samuel Madden and Nan Tang and Armando Solar-Lezama},
  year   = {2019},
  eprint = {1903.03229},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1903.03229}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1903.03229.svg)](https://codeofpaper.com/paper/1903.03229)

Discussion