Loading…
Deductive optimization of relational data storage
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...
Saved in:
Published in: | Proceedings of ACM on programming languages 2020-11, Vol.4 (OOPSLA), p.1-30, Article 170 |
---|---|
Main Authors: | , , , |
Format: | Article |
Language: | English |
Subjects: | |
Citations: | Items that this one cites Items that cite this one |
Online Access: | Get full text |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
cited_by | cdi_FETCH-LOGICAL-a277t-c7f9dcabd483f6455ff3374340fae8214feea90b41a0056d04a4ccf0ad0520163 |
---|---|
cites | cdi_FETCH-LOGICAL-a277t-c7f9dcabd483f6455ff3374340fae8214feea90b41a0056d04a4ccf0ad0520163 |
container_end_page | 30 |
container_issue | OOPSLA |
container_start_page | 1 |
container_title | Proceedings of ACM on programming languages |
container_volume | 4 |
creator | Feser, John Madden, Sam Tang, Nan Solar-Lezama, Armando |
description | 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. |
doi_str_mv | 10.1145/3428238 |
format | article |
fullrecord | <record><control><sourceid>acm_cross</sourceid><recordid>TN_cdi_crossref_primary_10_1145_3428238</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>3428238</sourcerecordid><originalsourceid>FETCH-LOGICAL-a277t-c7f9dcabd483f6455ff3374340fae8214feea90b41a0056d04a4ccf0ad0520163</originalsourceid><addsrcrecordid>eNpNj81LAzEUxIMoWNri3dPePK2-l7zsx1GqVqHQi56X13xIZNctSRT0r7faKp5mYH7MMEKcIVwikr5SJBupmiMxkVTrEkni8T9_KuYpvQAAtooa1U4E3jj7ZnJ4d8W4zWEIn5zD-FqMvoiu__HcF5YzFymPkZ_dTJx47pObH3Qqnu5uHxf35Wq9fFhcr0qWdZ1LU_vWGt7Y3Y6vSGvvlapJEXh2jUTyznELG0IG0JUFYjLGA1vQErBSU3Gx7zVxTCk6321jGDh-dAjd99nucHZHnu9JNsMf9Bt-AW2pTgY</addsrcrecordid><sourcetype>Aggregation Database</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype></control><display><type>article</type><title>Deductive optimization of relational data storage</title><source>ACM Digital Library</source><creator>Feser, John ; Madden, Sam ; Tang, Nan ; Solar-Lezama, Armando</creator><creatorcontrib>Feser, John ; Madden, Sam ; Tang, Nan ; Solar-Lezama, Armando</creatorcontrib><description>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.</description><identifier>ISSN: 2475-1421</identifier><identifier>EISSN: 2475-1421</identifier><identifier>DOI: 10.1145/3428238</identifier><language>eng</language><publisher>New York, NY, USA: ACM</publisher><subject>Automatic programming ; Context specific languages ; Data layout ; Data management systems ; Data structures ; Domain specific languages ; Information systems ; Query languages ; Relational database query languages ; Software and its engineering ; Software creation and management ; Software development techniques ; Software notations and tools</subject><ispartof>Proceedings of ACM on programming languages, 2020-11, Vol.4 (OOPSLA), p.1-30, Article 170</ispartof><rights>Owner/Author</rights><lds50>peer_reviewed</lds50><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed><citedby>FETCH-LOGICAL-a277t-c7f9dcabd483f6455ff3374340fae8214feea90b41a0056d04a4ccf0ad0520163</citedby><cites>FETCH-LOGICAL-a277t-c7f9dcabd483f6455ff3374340fae8214feea90b41a0056d04a4ccf0ad0520163</cites><orcidid>0000-0001-8577-1784</orcidid></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><linktopdf>$$Uhttps://dl.acm.org/doi/pdf/10.1145/3428238$$EPDF$$P50$$Gacm$$Hfree_for_read</linktopdf><link.rule.ids>314,780,784,2282,27924,27925,40196,76228</link.rule.ids></links><search><creatorcontrib>Feser, John</creatorcontrib><creatorcontrib>Madden, Sam</creatorcontrib><creatorcontrib>Tang, Nan</creatorcontrib><creatorcontrib>Solar-Lezama, Armando</creatorcontrib><title>Deductive optimization of relational data storage</title><title>Proceedings of ACM on programming languages</title><addtitle>ACM PACMPL</addtitle><description>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.</description><subject>Automatic programming</subject><subject>Context specific languages</subject><subject>Data layout</subject><subject>Data management systems</subject><subject>Data structures</subject><subject>Domain specific languages</subject><subject>Information systems</subject><subject>Query languages</subject><subject>Relational database query languages</subject><subject>Software and its engineering</subject><subject>Software creation and management</subject><subject>Software development techniques</subject><subject>Software notations and tools</subject><issn>2475-1421</issn><issn>2475-1421</issn><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2020</creationdate><recordtype>article</recordtype><recordid>eNpNj81LAzEUxIMoWNri3dPePK2-l7zsx1GqVqHQi56X13xIZNctSRT0r7faKp5mYH7MMEKcIVwikr5SJBupmiMxkVTrEkni8T9_KuYpvQAAtooa1U4E3jj7ZnJ4d8W4zWEIn5zD-FqMvoiu__HcF5YzFymPkZ_dTJx47pObH3Qqnu5uHxf35Wq9fFhcr0qWdZ1LU_vWGt7Y3Y6vSGvvlapJEXh2jUTyznELG0IG0JUFYjLGA1vQErBSU3Gx7zVxTCk6321jGDh-dAjd99nucHZHnu9JNsMf9Bt-AW2pTgY</recordid><startdate>20201113</startdate><enddate>20201113</enddate><creator>Feser, John</creator><creator>Madden, Sam</creator><creator>Tang, Nan</creator><creator>Solar-Lezama, Armando</creator><general>ACM</general><scope>AAYXX</scope><scope>CITATION</scope><orcidid>https://orcid.org/0000-0001-8577-1784</orcidid></search><sort><creationdate>20201113</creationdate><title>Deductive optimization of relational data storage</title><author>Feser, John ; Madden, Sam ; Tang, Nan ; Solar-Lezama, Armando</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-a277t-c7f9dcabd483f6455ff3374340fae8214feea90b41a0056d04a4ccf0ad0520163</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2020</creationdate><topic>Automatic programming</topic><topic>Context specific languages</topic><topic>Data layout</topic><topic>Data management systems</topic><topic>Data structures</topic><topic>Domain specific languages</topic><topic>Information systems</topic><topic>Query languages</topic><topic>Relational database query languages</topic><topic>Software and its engineering</topic><topic>Software creation and management</topic><topic>Software development techniques</topic><topic>Software notations and tools</topic><toplevel>peer_reviewed</toplevel><toplevel>online_resources</toplevel><creatorcontrib>Feser, John</creatorcontrib><creatorcontrib>Madden, Sam</creatorcontrib><creatorcontrib>Tang, Nan</creatorcontrib><creatorcontrib>Solar-Lezama, Armando</creatorcontrib><collection>CrossRef</collection><jtitle>Proceedings of ACM on programming languages</jtitle></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>Feser, John</au><au>Madden, Sam</au><au>Tang, Nan</au><au>Solar-Lezama, Armando</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>Deductive optimization of relational data storage</atitle><jtitle>Proceedings of ACM on programming languages</jtitle><stitle>ACM PACMPL</stitle><date>2020-11-13</date><risdate>2020</risdate><volume>4</volume><issue>OOPSLA</issue><spage>1</spage><epage>30</epage><pages>1-30</pages><artnum>170</artnum><issn>2475-1421</issn><eissn>2475-1421</eissn><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 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.</abstract><cop>New York, NY, USA</cop><pub>ACM</pub><doi>10.1145/3428238</doi><tpages>30</tpages><orcidid>https://orcid.org/0000-0001-8577-1784</orcidid><oa>free_for_read</oa></addata></record> |
fulltext | fulltext |
identifier | ISSN: 2475-1421 |
ispartof | Proceedings of ACM on programming languages, 2020-11, Vol.4 (OOPSLA), p.1-30, Article 170 |
issn | 2475-1421 2475-1421 |
language | eng |
recordid | cdi_crossref_primary_10_1145_3428238 |
source | ACM Digital Library |
subjects | Automatic programming Context specific languages Data layout Data management systems Data structures Domain specific languages Information systems Query languages Relational database query languages Software and its engineering Software creation and management Software development techniques Software notations and tools |
title | Deductive optimization of relational data storage |
url | http://sfxeu10.hosted.exlibrisgroup.com/loughborough?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2024-12-27T14%3A25%3A22IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-acm_cross&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=Deductive%20optimization%20of%20relational%20data%20storage&rft.jtitle=Proceedings%20of%20ACM%20on%20programming%20languages&rft.au=Feser,%20John&rft.date=2020-11-13&rft.volume=4&rft.issue=OOPSLA&rft.spage=1&rft.epage=30&rft.pages=1-30&rft.artnum=170&rft.issn=2475-1421&rft.eissn=2475-1421&rft_id=info:doi/10.1145/3428238&rft_dat=%3Cacm_cross%3E3428238%3C/acm_cross%3E%3Cgrp_id%3Ecdi_FETCH-LOGICAL-a277t-c7f9dcabd483f6455ff3374340fae8214feea90b41a0056d04a4ccf0ad0520163%3C/grp_id%3E%3Coa%3E%3C/oa%3E%3Curl%3E%3C/url%3E&rft_id=info:oai/&rft_id=info:pmid/&rfr_iscdi=true |