{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,5,10]],"date-time":"2025-05-10T23:01:05Z","timestamp":1746918065760},"reference-count":59,"publisher":"Association for Computing Machinery (ACM)","issue":"11","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2019,7]]},"abstract":"<jats:p>Database applications are often developed with object-oriented languages while using relational databases as the backend. To accelerate these applications, developers would manually design customized data structures to store data in memory, and ways to utilize such data structures to answer queries. Doing so is brittle and requires a lot of effort. Alternatively, developers might automate the process by using relational physical design tools to create materialized views and indexes instead. However, the characteristics of object-oriented database applications are often distinct enough from traditional database applications such that classical relational query optimization techniques often cannot speed up queries that arise from such applications, as our experiments show.<\/jats:p>\n          <jats:p>\n            To address this, we build Chestnut, a data layout generator for in-memory object-oriented database applications. Given a memory budget, Chestnut generates\n            <jats:italic>customized<\/jats:italic>\n            in-memory data layouts and query plans to answer queries written using a subset of the Rails API, a common framework for building object-oriented database applications. Chestnut differs from traditional query optimizers and physical designers in two ways. First, Chestnut automatically generates data layouts that are customized for the application after analyzing their queries, hence Chestnut-generated data layouts are designed to be efficient to answer queries from such applications. second, Chestnut uses a novel enumeration and verification-based algorithm to generate query plans that use such data layouts, rather than rule-based approaches as in traditional query optimizers. We evaluated Chestnut on four open-source Rails database applications. The result shows that it can reduce average query processing time by over 3.6X (and up to 42X), as compared to other in-memory relational database engines.\n          <\/jats:p>","DOI":"10.14778\/3342263.3342630","type":"journal-article","created":{"date-parts":[[2019,9,18]],"date-time":"2019-09-18T18:36:11Z","timestamp":1568831771000},"page":"1513-1525","source":"Crossref","is-referenced-by-count":7,"title":["Generating application-specific data layouts for in-memory databases"],"prefix":"10.14778","volume":"12","author":[{"given":"Cong","family":"Yan","sequence":"first","affiliation":[{"name":"University of Washington"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Alvin","family":"Cheung","sequence":"additional","affiliation":[{"name":"UC and University of Washington"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2019,7]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"Active record association. https:\/\/guides.rubyonrails.org\/association_basics.html.  Active record association. https:\/\/guides.rubyonrails.org\/association_basics.html."},{"key":"e_1_2_1_2_1","unstructured":"Active record query interface. https:\/\/guides.rubyonrails.org\/active_record_querying.html.  Active record query interface. https:\/\/guides.rubyonrails.org\/active_record_querying.html."},{"key":"e_1_2_1_3_1","unstructured":"Comparing oodb with LINQ. https:\/\/msdn.microsoft.com\/en-us\/library\/aa479863.aspx.  Comparing oodb with LINQ. https:\/\/msdn.microsoft.com\/en-us\/library\/aa479863.aspx."},{"key":"e_1_2_1_4_1","unstructured":"Curated list of awesome rails lists. https:\/\/project-awesome.org\/ekremkaraca\/awesome-rails.  Curated list of awesome rails lists. https:\/\/project-awesome.org\/ekremkaraca\/awesome-rails."},{"key":"e_1_2_1_5_1","unstructured":"Database size reported by web developers. https:\/\/meta.discourse.org\/t\/slow-sql-queries\/16604.  Database size reported by web developers. https:\/\/meta.discourse.org\/t\/slow-sql-queries\/16604."},{"key":"e_1_2_1_6_1","unstructured":"Database size reported by web developers. http:\/\/www.redmine.org\/issues\/23318.  Database size reported by web developers. http:\/\/www.redmine.org\/issues\/23318."},{"key":"e_1_2_1_7_1","unstructured":"Dexter an automatic indexer for postgres. https:\/\/github.com\/ankane\/dexter.  Dexter an automatic indexer for postgres. https:\/\/github.com\/ankane\/dexter."},{"key":"e_1_2_1_8_1","unstructured":"Django a python web application framework. https:\/\/www.djangoproject.com\/.  Django a python web application framework. https:\/\/www.djangoproject.com\/."},{"key":"e_1_2_1_9_1","unstructured":"Gurobi ilp solver. http:\/\/www.gurobi.com\/.  Gurobi ilp solver. http:\/\/www.gurobi.com\/."},{"key":"e_1_2_1_10_1","unstructured":"Hibernate an orm framework for java. http:\/\/hibernate.org\/orm\/.  Hibernate an orm framework for java. http:\/\/hibernate.org\/orm\/."},{"key":"e_1_2_1_11_1","unstructured":"Huginn anagentmonitor. https:\/\/github.com\/huginn\/huginn.  Huginn anagentmonitor. https:\/\/github.com\/huginn\/huginn."},{"key":"e_1_2_1_12_1","unstructured":"Kandan a chatting application. https:\/\/github.com\/kandanapp\/kandan.  Kandan a chatting application. https:\/\/github.com\/kandanapp\/kandan."},{"key":"e_1_2_1_13_1","unstructured":"Lobsters a forumapplication. https:\/\/github.com\/lobsters\/lobsters.  Lobsters a forumapplication. https:\/\/github.com\/lobsters\/lobsters."},{"key":"e_1_2_1_14_1","unstructured":"Nested set model a model to represent tree using relational table. https:\/\/en.wikipedia.org\/wiki\/Nested_set_model.  Nested set model a model to represent tree using relational table. https:\/\/en.wikipedia.org\/wiki\/Nested_set_model."},{"key":"e_1_2_1_15_1","unstructured":"Protocol buffer a language-neutral platform-neutral extensible mechanism for serializing structured data. https:\/\/developers.google.com\/protocol-buffers.  Protocol buffer a language-neutral platform-neutral extensible mechanism for serializing structured data. https:\/\/developers.google.com\/protocol-buffers."},{"key":"e_1_2_1_16_1","unstructured":"ranking of popular open source rails applications. http:\/\/www.opensourcerails.com\/.  ranking of popular open source rails applications. http:\/\/www.opensourcerails.com\/."},{"key":"e_1_2_1_17_1","unstructured":"Redmine a project management application. https:\/\/github.com\/redmine\/redmine.  Redmine a project management application. https:\/\/github.com\/redmine\/redmine."},{"key":"e_1_2_1_18_1","unstructured":"Ruby on rails a ruby web application framework. https:\/\/rubyonrails.org\/.  Ruby on rails a ruby web application framework. https:\/\/rubyonrails.org\/."},{"key":"e_1_2_1_19_1","unstructured":"Stx-btree library. https:\/\/github.com\/bingmann\/stx-btree.  Stx-btree library. https:\/\/github.com\/bingmann\/stx-btree."},{"key":"e_1_2_1_20_1","unstructured":"top7 forceful rails apps for business management. https:\/\/www.cleveroad.com\/blog\/effective-ruby-on-rails-open-source-apps-to-help-your-business.  top7 forceful rails apps for business management. https:\/\/www.cleveroad.com\/blog\/effective-ruby-on-rails-open-source-apps-to-help-your-business."},{"key":"e_1_2_1_21_1","unstructured":"who uses huginn. https:\/\/github.com\/huginn\/huginn\/wiki\/Companies-and-People-Using-Huginn.  who uses huginn. https:\/\/github.com\/huginn\/huginn\/wiki\/Companies-and-People-Using-Huginn."},{"key":"e_1_2_1_22_1","unstructured":"who uses redmine. http:\/\/www.redmine.org\/projects\/redmine\/wiki\/weareusingredmine.  who uses redmine. http:\/\/www.redmine.org\/projects\/redmine\/wiki\/weareusingredmine."},{"key":"e_1_2_1_23_1","unstructured":"Z3 theorem prover. https:\/\/github.com\/Z3Prover\/z3.  Z3 theorem prover. https:\/\/github.com\/Z3Prover\/z3."},{"key":"e_1_2_1_24_1","first-page":"496","volume-title":"PVLDB","author":"Agrawal S.","year":"2000","unstructured":"S. Agrawal , S. Chaudhuri , and V. R. Narasayya . Automated selection of materialized views and indexes in sql databases . In PVLDB , pages 496 -- 505 , 2000 . S. Agrawal, S. Chaudhuri, and V. R. Narasayya. Automated selection of materialized views and indexes in sql databases. In PVLDB, pages 496--505, 2000."},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/1007568.1007609"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1145\/2588555.2610502"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1016\/B978-0-444-88433-6.50020-4"},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.14778\/3157794.3157801"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/170035.170080"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/1066157.1066184"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.14778\/1453856.1453863"},{"key":"e_1_2_1_32_1","first-page":"146","volume-title":"PVLDB","author":"Chaudhuri S.","year":"1997","unstructured":"S. Chaudhuri and V. R. Narasayya . An efficient cost-driven index selection tool for microsoft sql server . In PVLDB , pages 146 -- 155 , 1997 . S. Chaudhuri and V. R. Narasayya. An efficient cost-driven index selection tool for microsoft sql server. In PVLDB, pages 146--155, 1997."},{"key":"e_1_2_1_33_1","volume-title":"CIDR","author":"Cheung A.","year":"2013","unstructured":"A. Cheung and O. Arden . Statusquo: Making familiar abstractions perform using program analysis . In CIDR , 2013 . A. Cheung and O. Arden. Statusquo: Making familiar abstractions perform using program analysis. In CIDR, 2013."},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1145\/2491956.2462180"},{"key":"e_1_2_1_35_1","volume-title":"CIDR","author":"Chu S.","year":"2017","unstructured":"S. Chu , C. Wang , K. Weitz , and A. Cheung . Cosette: An automated prover for SQL . In CIDR , 2017 . S. Chu, C. Wang, K. Weitz, and A. Cheung. Cosette: An automated prover for SQL. In CIDR, 2017."},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.1145\/3062341.3062348"},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.14778\/1978665.1978668"},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.5555\/648291.754377"},{"key":"e_1_2_1_39_1","first-page":"213","volume-title":"USENIX","author":"Gjengset J.","year":"2018","unstructured":"J. Gjengset , M. Schwarzkopf , J. Behrens , L. T. Ara\u00fajo , M. Ek , E. Kohler , M. F. Kaashoek , and R. Morris . Noria: dynamic, partially-stateful data-flow for high-performance web applications . In USENIX , pages 213 -- 231 , 2018 . J. Gjengset, M. Schwarzkopf, J. Behrens, L. T. Ara\u00fajo, M. Ek, E. Kohler, M. F. Kaashoek, and R. Morris. Noria: dynamic, partially-stateful data-flow for high-performance web applications. In USENIX, pages 213--231, 2018."},{"key":"e_1_2_1_40_1","first-page":"21","volume-title":"Grundlagen von Datenbanken","author":"Gluche D.","year":"1996","unstructured":"D. Gluche and M. Scholl . Physical design in OODBMS . In Grundlagen von Datenbanken , pages 21 -- 25 , 1996 . D. Gluche and M. Scholl. Physical design in OODBMS. In Grundlagen von Datenbanken, pages 21--25, 1996."},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.14778\/1921071.1921077"},{"key":"e_1_2_1_42_1","volume-title":"CIDR","author":"Idreos S.","year":"2019","unstructured":"S. Idreos , N. Dayan , W. Qin , M. Akmanalp , S. Hilgard , A. Ross , J. Lennon , V. Jain , H. Gupta , D. Li , Design continuums and the path toward self-designing key-value stores that know and learn . In CIDR , 2019 . S. Idreos, N. Dayan, W. Qin, M. Akmanalp, S. Hilgard, A. Ross, J. Lennon, V. Jain, H. Gupta, D. Li, et al. Design continuums and the path toward self-designing key-value stores that know and learn. In CIDR, 2019."},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.14778\/3192965.3192971"},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1145\/63320"},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.14778\/1920841.1920979"},{"key":"e_1_2_1_46_1","volume-title":"CIDR","author":"Kipf A.","year":"2019","unstructured":"A. Kipf , T. Kipf , B. Radke , V. Leis , P. Boncz , and A. Kemper . Learned cardinalities: Estimating correlated joins with deep learning . In CIDR , 2019 . A. Kipf, T. Kipf, B. Radke, V. Leis, P. Boncz, and A. Kemper. Learned cardinalities: Estimating correlated joins with deep learning. In CIDR, 2019."},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","DOI":"10.14778\/2732951.2732965"},{"key":"e_1_2_1_48_1","doi-asserted-by":"publisher","DOI":"10.1145\/3180155.3180211"},{"key":"e_1_2_1_49_1","doi-asserted-by":"publisher","DOI":"10.1145\/2908080.2908122"},{"key":"e_1_2_1_50_1","volume-title":"CIDR","author":"Marcus R.","year":"2019","unstructured":"R. Marcus and O. Papaemmanouil . Towards a hands-free query optimizer through deep learning . In CIDR , 2019 . R. Marcus and O. Papaemmanouil. Towards a hands-free query optimizer through deep learning. In CIDR, 2019."},{"key":"e_1_2_1_51_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2016.7498239"},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.1145\/3209889.3209890"},{"key":"e_1_2_1_53_1","doi-asserted-by":"publisher","DOI":"10.1145\/2213836.2213838"},{"key":"e_1_2_1_54_1","unstructured":"Transaction Processing Performance Council. The TPC-H benchmark. http:\/\/www.tpc.org\/information\/benchmarks.asp 1999.  Transaction Processing Performance Council. The TPC-H benchmark. http:\/\/www.tpc.org\/information\/benchmarks.asp 1999."},{"key":"e_1_2_1_55_1","doi-asserted-by":"publisher","DOI":"10.1145\/3276527"},{"key":"e_1_2_1_56_1","doi-asserted-by":"publisher","DOI":"10.14778\/2876473.2876479"},{"key":"e_1_2_1_57_1","doi-asserted-by":"publisher","DOI":"10.1145\/3132847.3132954"},{"key":"e_1_2_1_58_1","doi-asserted-by":"publisher","DOI":"10.1145\/3180155.3180194"},{"key":"e_1_2_1_59_1","doi-asserted-by":"publisher","DOI":"10.1145\/3236024.3264589"}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/3342263.3342630","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,12,28]],"date-time":"2022-12-28T09:58:12Z","timestamp":1672221492000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/3342263.3342630"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2019,7]]},"references-count":59,"journal-issue":{"issue":"11","published-print":{"date-parts":[[2019,7]]}},"alternative-id":["10.14778\/3342263.3342630"],"URL":"https:\/\/doi.org\/10.14778\/3342263.3342630","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2019,7]]}}}