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

利用列相关性设计简洁的二级索引机制(扩展版)

Designing Succinct Secondary Indexing Mechanism by Exploiting Column Correlations (Extended Version)

Yingjun Wu, Jia Yu, Yuanyuan Tian, Richard Sidle, Ronald Barber

摘要:

数据库管理员在数据表上构造二级索引以加速关系数据库管理系统(RDBMS)中的查询处理。根据数据统计信息,这些索引构建在最常查询的列之上。不幸的是,在同一个数据库中维护多个辅助索引可能非常消耗空间,由于可能耗尽内存空间,导致性能显著下降。在本文中,我们证明了有很多机会利用列相关性来加速数据访问。我们提出了HERMIT,一个简洁的现代RDBMS二级索引机制。HERMIT明智地利用隐藏在列中的丰富的软函数依赖关系,为索引键访问修剪掉冗余结构。HERMIT不是构建一个完整的索引来存储键列中的每个条目,而是将任何传入的键访问查询导航到基于相关列构建的现有索引。这是通过分层回归搜索树(TRS树)实现的,TRS树是一种简洁的ML增强型数据结构,可执行快速曲线拟合,以自适应地动态捕获列相关性和离群值。我们在两个不同的RDBMS中进行了广泛的实验研究,证实了HERMIT可以显着减少空间消耗,在查询响应时间和索引维护时间方面的性能开销有限,特别是在支持复杂范围查询时。

英文摘要:

Database administrators construct secondary indexes on data tables to accelerate query processing in relational database management systems (RDBMSs). These indexes are built on top of the most frequently queried columns according to the data statistics. Unfortunately, maintaining multiple secondary indexes in the same database can be extremely space consuming, causing significant performance degradation due to the potential exhaustion of memory space. In this paper, we demonstrate that there exist many opportunities to exploit column correlations for accelerating data access. We propose HERMIT, a succinct secondary indexing mechanism for modern RDBMSs. HERMIT judiciously leverages the rich soft functional dependencies hidden among columns to prune out redundant structures for indexed key access. Instead of building a complete index that stores every single entry in the key columns, HERMIT navigates any incoming key access queries to an existing index built on the correlated columns. This is achieved through the Tiered Regression Search Tree (TRS-Tree), a succinct, ML-enhanced data structure that performs fast curve fitting to adaptively and dynamically capture both column correlations and outliers. Our extensive experimental study in two different RDBMSs have confirmed that HERMIT can significantly reduce space consumption with limited performance overhead in terms of query response time and index maintenance time, especially when supporting complex range queries.

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

↑