基于LSM的无模式文档存储中的列存储
Columnar Formats for Schemaless LSM-based Document Stores
摘要:
在过去的十年中,文档存储数据库系统在存储和查询大量半结构化数据方面获得了更多的关注。但是,文档存储的数据模型的灵活性限制了它们以列为主的布局存储数据的能力,使得它们在分析工作负载方面的性能不如列存储关系数据库。在本文中,我们提出了几种技术的基础上捎带日志结构化合并(LSM)树事件和定制的文档存储存储在一个列布局的文档数据。我们首先扩展了Dremel格式,一种流行的半结构化数据的磁盘列格式,以符合文档存储的灵活数据模型。然后,我们将介绍两种用于在基于LSM的存储中组织和存储数据的列式布局。我们还强调了在文档存储中使用查询编译技术的潜力,其中值的类型只在运行时才知道。我们已经实现并评估了我们的技术,以衡量其对Apache AsterixDB中的存储,数据摄取和查询性能的影响。我们的实验显示了显着的性能增益,提高查询执行时间的数量级,同时最小限度地影响摄取性能。
英文摘要:
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 columnar-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 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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。