2019/03/08 by Feser, John K., Madden, Samuel, Tang, Nan +1
#Databases (cs.DB) #FOS: Computer and information sciences #Programming Languages (cs.PL)
paper · doi:10.48550/arxiv.1903.03229
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. 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.