arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1910.08185cs.DB
收藏

基于LSM的Apache AsterixDB元组压缩框架(扩展版)

An LSM-based Tuple Compaction Framework for Apache AsterixDB (Extended Version)

Wail Y. Alkowaileet, Sattam Alsubaiee, Michael J. Carey

摘要:

文档数据库系统存储自我描述的半结构化记录,如JSON,“原样”,而不需要用户预先定义模式。这为用户提供了更改传入记录结构的灵活性,而不必担心使系统脱机或妨碍当前运行的查询的性能。然而,这种系统的灵活性并不自由。记录中的大量冗余可能会引入不必要的存储开销并影响查询性能。我们在本文中的重点是解决存储开销问题,通过引入元组压缩器框架,推断和提取模式的自我描述的半结构化记录在数据摄取。由于许多著名的文档存储,如MongoDB和Couchbase,在其存储引擎中采用日志结构化合并(LSM)树,我们的框架利用LSM生命周期事件来搭载模式推理和提取操作。我们已经实现并经验评估了我们的方法,以衡量其对Apache AsterixDB环境中的存储,数据摄取和查询性能的影响。

英文摘要:

Document database systems store self-describing semi-structured records, such as JSON, "as-is" without requiring the users to pre-define a schema. This provides users with the flexibility to change the structure of incoming records without worrying about taking the system offline or hindering the performance of currently running queries. However, the flexibility of such systems does not free. The large amount of redundancy in the records can introduce an unnecessary storage overhead and impact query performance. Our focus in this paper is to address the storage overhead issue by introducing a tuple compactor framework that infers and extracts the schema from self-describing semi-structured records during the data ingestion. As many prominent document stores, such as MongoDB and Couchbase, adopt Log Structured Merge (LSM) trees in their storage engines, our framework exploits LSM lifecycle events to piggyback the schema inference and extraction operations. We have implemented and empirically evaluated our approach to measure its impact on storage, data ingestion, and query performance in the context of Apache AsterixDB.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑