学习多维索引
Learning Multi-dimensional Indexes
摘要:
多维表的扫描和过滤是现代分析数据库引擎的关键操作。为了优化这些操作的性能,数据库通常在单个维度上创建聚集索引或多维索引(如R树),或者使用复杂的排序顺序(例如,Z排序)。然而,这些方案通常很难调优,并且它们的性能在不同的数据集和查询之间不一致。在本文中,我们介绍了Flood,这是一种多维内存索引,通过联合优化索引结构和数据存储,自动适应特定的数据集和工作负载。Flood在使用谓词进行范围扫描时的性能比最先进的多维索引或现实世界数据集和工作负载上的排序顺序快三个数量级。我们的工作作为一个积木走向端到端的学习数据库系统。
英文摘要:
Scanning and filtering over multi-dimensional tables are key operations in modern analytical database engines. To optimize the performance of these operations, databases often create clustered indexes over a single dimension or multi-dimensional indexes such as R-trees, or use complex sort orders (e.g., Z-ordering). However, these schemes are often hard to tune and their performance is inconsistent across different datasets and queries. In this paper, we introduce Flood, a multi-dimensional in-memory index that automatically adapts itself to a particular dataset and workload by jointly optimizing the index structure and data storage. Flood achieves up to three orders of magnitude faster performance for range scans with predicates than state-of-the-art multi-dimensional indexes or sort orders on real-world datasets and workloads. Our work serves as a building block towards an end-to-end learned database system.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。