The reviewed record of science sign in
Pith

arxiv: 2502.10874 · v1 · pith:KCL24QIA · submitted 2025-02-15 · cs.DB

Indexing Join Inputs for Fast Queries and Maintenance

Reviewed by Pith T0 review T1 audit T2 compute T3 formal T4 kernel pith:KCL24QIArecord.jsonopen to challenge →

classification cs.DB
keywords joinjoinstraditionalindexesmaintenancematerializedviewsquery
0
0 comments X
read the original abstract

In database systems, joins are often expensive despite many years of research producing numerous join algorithms. Precomputed and materialized join views deliver the best query performance, whereas traditional indexes, used as pre-sorted inputs for merge joins, permit very efficient maintenance. Neither traditional indexes nor materialized join views require blocking phases, in contrast to query-time sorting and transient indexes, e.g., hash tables in hash joins, that impose high memory requirements and possibly spill to temporary storage. Here, we introduce a hybrid of traditional indexing and materialized join views. The *merged index* can be implemented with traditional b-trees, permits high-bandwidth maintenance using log-structured merge-forests, supports all join types (inner joins, all outer joins, all semi joins), and enables non-blocking query processing. Experiments across a wide range of scenarios confirm its query performance comparable to materialized join views and maintenance efficiency comparable to traditional indexes.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.