{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,15]],"date-time":"2026-09-15T01:19:04Z","timestamp":1789435144567,"version":"build-2803163510"},"reference-count":53,"publisher":"Association for Computing Machinery (ACM)","issue":"10","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2022,6]]},"abstract":"<jats:p>In the last decade, document store database systems have gained more traction for storing and querying large volumes of semi-structured data. However, the flexibility of the document stores' data models has limited their ability to store data in a column-major layout --- making them less performant for analytical workloads than column store relational databases. In this paper, we propose several techniques based on piggy-backing on Log-Structured Merge (LSM) tree events and tailored to document stores to store data in a columnar layout. We first extend the Dremel format, a popular on-disk columnar format for semi-structured data, to comply with document stores' flexible data model. We then introduce a new columnar layout for organizing and storing data in LSM-based storage. We also highlight the potential of using query compilation techniques for document stores, where values' types are known only at runtime. We have implemented and evaluated our techniques to measure their impact on storage, data ingestion, and query performance in Apache AsterixDB. Our experiments show significant performance gains, improving the query execution time by orders of magnitude while minimally impacting ingestion performance.<\/jats:p>","DOI":"10.14778\/3547305.3547314","type":"journal-article","created":{"date-parts":[[2022,9,7]],"date-time":"2022-09-07T12:09:53Z","timestamp":1662552593000},"page":"2085-2097","source":"Crossref","is-referenced-by-count":9,"title":["Columnar formats for schemaless LSM-based document stores"],"prefix":"10.14778","volume":"15","author":[{"given":"Wail Y.","family":"Alkowaileet","sequence":"first","affiliation":[{"name":"University of California"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Michael J.","family":"Carey","sequence":"additional","affiliation":[{"name":"University of California"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2022,9,7]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"2021. Actian Vector. https:\/\/esd.actian.com\/product\/Vector  2021. Actian Vector. https:\/\/esd.actian.com\/product\/Vector"},{"key":"e_1_2_1_2_1","unstructured":"2021. Apache AsterixDB. https:\/\/asterixdb.apache.org  2021. Apache AsterixDB. https:\/\/asterixdb.apache.org"},{"key":"e_1_2_1_3_1","unstructured":"2021. Apache AsterixDB Object Serialization Reference. https:\/\/cwiki.apache.org\/confluence\/display\/ASTERIXDB\/AsterixDB+Object+Serialization+Reference  2021. Apache AsterixDB Object Serialization Reference. https:\/\/cwiki.apache.org\/confluence\/display\/ASTERIXDB\/AsterixDB+Object+Serialization+Reference"},{"key":"e_1_2_1_4_1","unstructured":"2021. Apache Drill. https:\/\/drill.apache.org  2021. Apache Drill. https:\/\/drill.apache.org"},{"key":"e_1_2_1_5_1","unstructured":"2021. Apache Kudu. https:\/\/kudu.apache.org  2021. Apache Kudu. https:\/\/kudu.apache.org"},{"key":"e_1_2_1_6_1","unstructured":"2021. Apache Parquet. https:\/\/parquet.apache.org  2021. Apache Parquet. https:\/\/parquet.apache.org"},{"key":"e_1_2_1_7_1","unstructured":"2021. CADRE: Collaborative Archive Data Research Environment. http:\/\/iuni.iu.edu\/resources\/cadre  2021. CADRE: Collaborative Archive Data Research Environment. http:\/\/iuni.iu.edu\/resources\/cadre"},{"key":"e_1_2_1_8_1","unstructured":"2021. ClickHouse. https:\/\/clickhouse.tech  2021. ClickHouse. https:\/\/clickhouse.tech"},{"key":"e_1_2_1_9_1","unstructured":"2021. Couchbase. https:\/\/couchbase.com  2021. Couchbase. https:\/\/couchbase.com"},{"key":"e_1_2_1_10_1","unstructured":"2021. MonetDB. https:\/\/www.monetdb.org  2021. MonetDB. https:\/\/www.monetdb.org"},{"key":"e_1_2_1_11_1","unstructured":"2021. MongoDB. https:\/\/www.mongodb.com  2021. MongoDB. https:\/\/www.mongodb.com"},{"key":"e_1_2_1_12_1","unstructured":"2021. Parquet encoding. https:\/\/github.com\/apache\/parquet-format\/blob\/master\/Encodings.md  2021. Parquet encoding. https:\/\/github.com\/apache\/parquet-format\/blob\/master\/Encodings.md"},{"key":"e_1_2_1_13_1","unstructured":"2021. RocksDB. https:\/\/rocksdb.org  2021. RocksDB. https:\/\/rocksdb.org"},{"key":"e_1_2_1_14_1","unstructured":"2021. Rockset. https:\/\/rockset.com  2021. Rockset. https:\/\/rockset.com"},{"key":"e_1_2_1_15_1","unstructured":"2021. Snappy. http:\/\/google.github.io\/snappy  2021. Snappy. http:\/\/google.github.io\/snappy"},{"key":"e_1_2_1_16_1","unstructured":"2021. Twitter API Documentation. https:\/\/developer.twitter.com\/en\/docs.html  2021. Twitter API Documentation. https:\/\/developer.twitter.com\/en\/docs.html"},{"key":"e_1_2_1_17_1","unstructured":"2021. Vertica. https:\/\/www.vertica.com  2021. Vertica. https:\/\/www.vertica.com"},{"key":"e_1_2_1_18_1","unstructured":"2021. xml-to-json: Library and command line tool for converting XML files to json. http:\/\/hackage.haskell.org\/package\/xml-to-json  2021. xml-to-json: Library and command line tool for converting XML files to json. http:\/\/hackage.haskell.org\/package\/xml-to-json"},{"key":"e_1_2_1_19_1","unstructured":"2022. Parquet Documentation. https:\/\/parquet.apache.org\/documentation\/latest\/  2022. Parquet Documentation. https:\/\/parquet.apache.org\/documentation\/latest\/"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.14778\/2757807.2757810"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00778-002-0074-9"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.14778\/3397230.3397236"},{"key":"e_1_2_1_23_1","volume-title":"Carey","author":"Alkowaileet Wail Y.","year":"2021","unstructured":"Wail Y. Alkowaileet and Michael J . Carey . 2021 . Columnar Formats for Schemaless LSM-based Document Stores . arXiv:2111.11517 [cs.DB] Wail Y. Alkowaileet and Michael J. Carey. 2021. Columnar Formats for Schemaless LSM-based Document Stores. arXiv:2111.11517 [cs.DB]"},{"key":"e_1_2_1_24_1","doi-asserted-by":"crossref","unstructured":"Sattam Alsubaiee et al. 2014. AsterixDB: A Scalable Open Source BDMS. PVLDB 7 14 (2014).  Sattam Alsubaiee et al. 2014. AsterixDB: A Scalable Open Source BDMS. PVLDB 7 14 (2014).","DOI":"10.14778\/2733085.2733096"},{"key":"e_1_2_1_25_1","doi-asserted-by":"crossref","unstructured":"Sattam Alsubaiee et al. 2014. Storage Management in AsterixDB. PVLDB 7 10 (2014).  Sattam Alsubaiee et al. 2014. Storage Management in AsterixDB. PVLDB 7 10 (2014).","DOI":"10.14778\/2732951.2732958"},{"key":"e_1_2_1_26_1","first-page":"032","article-title":"Method, apparatus, and computer-readable medium for encoding repetition and definition level values for semi-structured data","volume":"15","author":"Alsubaiee Sattam","year":"2017","unstructured":"Sattam Alsubaiee and Vinayak Borkar . 2017 . Method, apparatus, and computer-readable medium for encoding repetition and definition level values for semi-structured data . US Patent App. 15\/208 , 032 . Sattam Alsubaiee and Vinayak Borkar. 2017. Method, apparatus, and computer-readable medium for encoding repetition and definition level values for semi-structured data. US Patent App. 15\/208,032.","journal-title":"US Patent App."},{"key":"e_1_2_1_27_1","first-page":"3411","article-title":"Delta lake: high-performance ACID table storage over cloud object stores","volume":"13","author":"Michael Armbrust","year":"2020","unstructured":"Michael Armbrust et al. 2020 . Delta lake: high-performance ACID table storage over cloud object stores . PVLDB 13 , 12 (2020), 3411 -- 3424 . Michael Armbrust et al. 2020. Delta lake: high-performance ACID table storage over cloud object stores. PVLDB 13, 12 (2020), 3411--3424.","journal-title":"PVLDB"},{"key":"e_1_2_1_28_1","volume-title":"International Conference on Data Engineering (ICDE).","author":"Vinayak","unstructured":"Vinayak Borkar et al. 2011. Hyracks: A flexible and extensible foundation for data-intensive computing . In International Conference on Data Engineering (ICDE). Vinayak Borkar et al. 2011. Hyracks: A flexible and extensible foundation for data-intensive computing. In International Conference on Data Engineering (ICDE)."},{"key":"e_1_2_1_29_1","doi-asserted-by":"crossref","unstructured":"Vinayak Borkar et al. 2015. Algebricks: a data model-agnostic compiler backend for big data languages. In SoCC.  Vinayak Borkar et al. 2015. Algebricks: a data model-agnostic compiler backend for big data languages. In SoCC.","DOI":"10.1145\/2806777.2806941"},{"key":"e_1_2_1_30_1","volume-title":"AsterixDB Mid-Flight: A Case Study in Building Systems in Academia. In International Conference on Data Engineering (ICDE).","author":"Carey Michael J","year":"2019","unstructured":"Michael J Carey . 2019 . AsterixDB Mid-Flight: A Case Study in Building Systems in Academia. In International Conference on Data Engineering (ICDE). Michael J Carey. 2019. AsterixDB Mid-Flight: A Case Study in Building Systems in Academia. In International Conference on Data Engineering (ICDE)."},{"key":"e_1_2_1_31_1","volume-title":"A Tutorial. Couchbase","author":"Chamberlin Don","unstructured":"Don Chamberlin . 2018. SQL++ For SQL Users : A Tutorial. Couchbase , Inc. (Available at Amazon .com). Don Chamberlin. 2018. SQL++ For SQL Users: A Tutorial. Couchbase, Inc. (Available at Amazon.com)."},{"key":"e_1_2_1_32_1","volume-title":"Dremel made simple with Parquet. Twitter Blog","author":"Dem Julien Le","year":"2013","unstructured":"Julien Le Dem . 2013. Dremel made simple with Parquet. Twitter Blog ( 2013 ). https:\/\/blog.twitter.com\/engineering\/en_us\/a\/2013\/dremel-made-simple-with-parquet.html Julien Le Dem. 2013. Dremel made simple with Parquet. Twitter Blog (2013). https:\/\/blog.twitter.com\/engineering\/en_us\/a\/2013\/dremel-made-simple-with-parquet.html"},{"key":"e_1_2_1_33_1","volume-title":"JSON Tiles: Fast Analytics on Semi-Structured Data. In ACM International Conference on Management of Data (SIGMOD).","author":"Durner Dominik","year":"2021","unstructured":"Dominik Durner , Viktor Leis , and Thomas Neumann . 2021 . JSON Tiles: Fast Analytics on Semi-Structured Data. In ACM International Conference on Management of Data (SIGMOD). Dominik Durner, Viktor Leis, and Thomas Neumann. 2021. JSON Tiles: Fast Analytics on Semi-Structured Data. In ACM International Conference on Management of Data (SIGMOD)."},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.1993.344061"},{"key":"e_1_2_1_35_1","volume-title":"ACM International Conference on Management of Data (SIGMOD). 1177--1184","author":"Per-\u00c5ke","unstructured":"Per-\u00c5ke Larson et al. 2011. SQL server column store indexes . In ACM International Conference on Management of Data (SIGMOD). 1177--1184 . Per-\u00c5ke Larson et al. 2011. SQL server column store indexes. In ACM International Conference on Management of Data (SIGMOD). 1177--1184."},{"key":"e_1_2_1_36_1","volume-title":"ACM International Conference on Management of Data (SIGMOD). 1159--1168","author":"Per-Ake","unstructured":"Per-Ake Larson et al. 2013. Enhancements to SQL server column stores . In ACM International Conference on Management of Data (SIGMOD). 1159--1168 . Per-Ake Larson et al. 2013. Enhancements to SQL server column stores. In ACM International Conference on Management of Data (SIGMOD). 1159--1168."},{"key":"e_1_2_1_38_1","volume-title":"Efficient data ingestion and query processing for LSM-based storage systems. PVLDB 12, 5","author":"Luo Chen","year":"2019","unstructured":"Chen Luo and Michael J Carey . 2019. Efficient data ingestion and query processing for LSM-based storage systems. PVLDB 12, 5 ( 2019 ). Chen Luo and Michael J Carey. 2019. Efficient data ingestion and query processing for LSM-based storage systems. PVLDB 12, 5 (2019)."},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00778-019-00555-y"},{"key":"e_1_2_1_40_1","first-page":"449","article-title":"On performance stability in LSM-based storage systems","volume":"13","author":"Luo Chen","year":"2020","unstructured":"Chen Luo and Michael J Carey . 2020 . On performance stability in LSM-based storage systems . PVLDB 13 , 4 (2020), 449 -- 462 . Chen Luo and Michael J Carey. 2020. On performance stability in LSM-based storage systems. PVLDB 13, 4 (2020), 449--462.","journal-title":"PVLDB"},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.14778\/1687553.1687618"},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.14778\/1920841.1920886"},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.14778\/3151113.3151114"},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.14778\/2002938.2002940"},{"key":"e_1_2_1_45_1","volume-title":"Umbra: A Disk-Based System with In-Memory Performance. In CIDR.","author":"Neumann Thomas","year":"2020","unstructured":"Thomas Neumann and Michael J Freitag . 2020 . Umbra: A Disk-Based System with In-Memory Performance. In CIDR. Thomas Neumann and Michael J Freitag. 2020. Umbra: A Disk-Based System with In-Memory Performance. In CIDR."},{"key":"e_1_2_1_46_1","article-title":"The Log-Structured Merge-Tree (LSM-Tree)","volume":"33","author":"O'Neil Patrick","year":"1996","unstructured":"Patrick O'Neil , Edward Cheng , Dieter Gawlick , and Elizabeth O'Neil . 1996 . The Log-Structured Merge-Tree (LSM-Tree) . Acta Informatica 33 , 4 (1996). Patrick O'Neil, Edward Cheng, Dieter Gawlick, and Elizabeth O'Neil. 1996. The Log-Structured Merge-Tree (LSM-Tree). Acta Informatica 33, 4 (1996).","journal-title":"Acta Informatica"},{"key":"e_1_2_1_47_1","volume-title":"The SQL++ query language: Configurable, unifying and semi-structured. arXiv preprint arXiv:1405.3631","author":"Ong Kian Win","year":"2014","unstructured":"Kian Win Ong , Yannis Papakonstantinou , and Romain Vernoux . 2014. The SQL++ query language: Configurable, unifying and semi-structured. arXiv preprint arXiv:1405.3631 ( 2014 ). Kian Win Ong, Yannis Papakonstantinou, and Romain Vernoux. 2014. The SQL++ query language: Configurable, unifying and semi-structured. arXiv preprint arXiv:1405.3631 (2014)."},{"key":"e_1_2_1_48_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICDE.2001.914871"},{"key":"e_1_2_1_49_1","volume-title":"Apache Spark as a compiler: Joining a billion rows per second on a laptop. Databricks Blog","author":"Sameer Agarwal Reynold Xin","year":"2013","unstructured":"Reynold Xin Sameer Agarwal , Davies Liu . 2013. Apache Spark as a compiler: Joining a billion rows per second on a laptop. Databricks Blog ( 2013 ). https:\/\/databricks.com\/blog\/2016\/05\/23\/apache-spark-as-a-compiler-joining-a-billion-rows-per-second-on-a-laptop.html Reynold Xin Sameer Agarwal, Davies Liu. 2013. Apache Spark as a compiler: Joining a billion rows per second on a laptop. Databricks Blog (2013). https:\/\/databricks.com\/blog\/2016\/05\/23\/apache-spark-as-a-compiler-joining-a-billion-rows-per-second-on-a-laptop.html"},{"key":"e_1_2_1_50_1","first-page":"1","article-title":"Language-Agnostic Integrated Queries in a Managed Polyglot Runtime","volume":"14","author":"Schiavio Filippo","year":"2021","unstructured":"Filippo Schiavio , Daniele Bonetta , and Walter Binder . 2021 . Language-Agnostic Integrated Queries in a Managed Polyglot Runtime . PVLDB 14 , 8 (2021), 1 -- 13 . Filippo Schiavio, Daniele Bonetta, and Walter Binder. 2021. Language-Agnostic Integrated Queries in a Managed Polyglot Runtime. PVLDB 14, 8 (2021), 1--13.","journal-title":"PVLDB"},{"key":"e_1_2_1_51_1","volume-title":"C-store: A column-oriented DBMS. In VLDB (Trondheim, Norway). 553--564.","author":"Mike Stonebraker","year":"2005","unstructured":"Mike Stonebraker et al. 2005 . C-store: A column-oriented DBMS. In VLDB (Trondheim, Norway). 553--564. Mike Stonebraker et al. 2005. C-store: A column-oriented DBMS. In VLDB (Trondheim, Norway). 553--564."},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.1145\/2588555.2612183"},{"key":"e_1_2_1_53_1","doi-asserted-by":"publisher","DOI":"10.1145\/2509578.2509581"},{"key":"e_1_2_1_54_1","first-page":"17","article-title":"MonetDB\/X100 - A DBMS In The CPU Cache","volume":"28","author":"Zukowski Marcin","year":"2005","unstructured":"Marcin Zukowski , Peter A Boncz , Niels Nes , and S\u00e1ndor H\u00e9man . 2005 . MonetDB\/X100 - A DBMS In The CPU Cache . IEEE Data Engineering Bulletin 28 , 2 (2005), 17 -- 22 . Marcin Zukowski, Peter A Boncz, Niels Nes, and S\u00e1ndor H\u00e9man. 2005. MonetDB\/X100 - A DBMS In The CPU Cache. IEEE Data Engineering Bulletin 28, 2 (2005), 17--22.","journal-title":"IEEE Data Engineering Bulletin"}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/3547305.3547314","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,12,28]],"date-time":"2022-12-28T06:13:43Z","timestamp":1672208023000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/3547305.3547314"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2022,6]]},"references-count":53,"journal-issue":{"issue":"10","published-print":{"date-parts":[[2022,6]]}},"alternative-id":["10.14778\/3547305.3547314"],"URL":"https:\/\/doi.org\/10.14778\/3547305.3547314","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2022,6]]}}}