Deductive Optimization of Relational Data Storage

被引:3
|
作者
Feser, John [1 ]
Madden, Sam [1 ]
Tang, Nan [2 ]
Solar-Lezama, Armando [1 ]
机构
[1] MIT, CSAIL, 32 Vassar St, Cambridge, MA 02139 USA
[2] QCRI HBKU, Qatar Comp Res Inst, Doha, Qatar
关键词
databases; deductive synthesis; data representation synthesis;
D O I
10.1145/3428238
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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 both a relational query and the layout of its data. Our language 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 program 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 an optimizing compiler for this language and conduct experiments using a popular database benchmark, which shows that the performance of our specialized queries is better than a state-of-the-art in memory compiled database system while achieving an order-of-magnitude reduction in memory use.
引用
收藏
页数:30
相关论文
共 50 条