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

LEA:列存储的学习编码顾问

LEA: A Learned Encoding Advisor for Column Stores

Lujing Cen, Andreas Kipf, Ryan Marcus, Tim Kraska

摘要:

数据仓库以列格式组织数据,以实现更快的扫描和更好的压缩。现代系统提供了各种列编码,可以减少存储占用并提高查询性能。为特定列选择良好的编码方案是一个优化问题,它取决于数据、查询工作负载和底层硬件。我们介绍了学习编码顾问(LEA),一个学习的方法来列编码选择。LEA是在目标系统上具有各种分布的合成数据集上训练的。一旦经过训练,LEA就使用来自用户数据库的样本数据和统计信息(如基数)来预测最佳列编码。LEA可以优化编码大小、查询性能或两者的组合。与TPC-H上的商业列存储的基于启发式的编码顾问相比,LEA实现了19%的查询延迟降低,同时使用的空间减少了26%。

英文摘要:

Data warehouses organize data in a columnar format to enable faster scans and better compression. Modern systems offer a variety of column encodings that can reduce storage footprint and improve query performance. Selecting a good encoding scheme for a particular column is an optimization problem that depends on the data, the query workload, and the underlying hardware. We introduce Learned Encoding Advisor (LEA), a learned approach to column encoding selection. LEA is trained on synthetic datasets with various distributions on the target system. Once trained, LEA uses sample data and statistics (such as cardinality) from the user's database to predict the optimal column encodings. LEA can optimize for encoded size, query performance, or a combination of the two. Compared to the heuristic-based encoding advisor of a commercial column store on TPC-H, LEA achieves 19% lower query latency while using 26% less space.

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

↑