Columnar Formats for Schemaless LSM-based Document Stores
Wail Y. Alkowaileet, Michael J. Carey
Abstract
In the last decade, document store database systems have gained more traction for storing and querying large volumes of semistructured data. However, the flexibility of the document stores' data models has limited their ability to store data in a columnarmajor 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 document 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 two columnar layouts 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.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers1
Ask how each one uses itBuilds on4
- JSON Tiles: Fast Analytics on Semi-Structured DataDominik Durner, Viktor Leis, Thomas NeumannSIGMOD 2021 · 28 citations
- An LSM-based Tuple Compaction Framework for Apache AsterixDBWail Y. Alkowaileet, Sattam Alsubaiee, Michael J. CareyVLDB 2020 · 23 citations
- Language-Agnostic Integrated Queries in a Managed Polyglot RuntimeFilippo Schiavio, Daniele Bonetta, Walter BinderVLDB 2021 · 6 citations
- On Performance Stability in LSM-based Storage SystemsChen Luo, Michael J. CareyVLDB 2020 · 1 citation
Related papers
- Aster: Enhancing LSM-structures for Scalable Graph DatabaseDingheng Mo, Junfeng Liu, Fan Wang, Siqiang LuoSIGMOD 2025 · 10 citations
- Graphix: "One User's JSON is Another User's Graph"Glenn Galvizo, Michael J. CareyICDE 2024 · 1 citation
- Real-Time LSM-Trees for HTAP WorkloadsHemant Saxena, Lukasz Golab, Stratos Idreos, Ihab F. IlyasICDE 2023 · 8 citations
- Selective Late Materialization in Modern Analytical DatabasesYihao Liu, Shaoxuan Tang, Yulong Hui, Hangrui Zhou et al.VLDB 2025
- Disco: A Compact Index for LSM-treesWenshao Zhong, Chen Chen, Xingbo Wu, Jakob ErikssonSIGMOD 2025 · 2 citations
