An Optimized Scan Index with Automatic Index Selection

Scan is a fundamental operation widely used in main-memory analytical database systems. To accelerate scans, previous studies build either record-order or sort-order structures known as scan indices. While achieving good performance, scan indices often incur significant space overhead, limiting their use in main-memory databases. For example, the most recent and best performing scan index, BinDex, consists of a sort-order position array, which is an array of rowIDs in the value order, and a set of record-order bit vectors, representing records in pre-defined value intervals. The structures can be much larger than the base data column size. In this paper, we propose a novel scan index, Cabin, that exploits the following three techniques for better time-space tradeoff. 1) filter sketches that represent every 2 w − 2 value intervals with a w -bit sketched vector, thereby exponentially reducing the space for the bit vectors; 2) selective position array that removes the rowID array for a fraction of intervals in order to lower the space overhead for the position array; and 3) data-aware intervals that judiciously select interval boundaries based on the data characteristics to better support popular values in skewed data distributions or categorical attributes. Experimental results show that compared with state-of-the-art scan solutions, Cabin achieves better time-space tradeoff, and attains 1.70 – 4.48x improvement for average scan performance given the same space budget. In addition, we investigate how to apply Cabin under a global space budget constraint, which we formalize as the Cabin Selection Problem. Unlike the classical index selection problem, there can be a large number of candidate Cabin’s on each data column under consideration with different time-space tradeoffs. We develop the ϵ-Selection framework, a two-stage strategy that judiciously chooses a small subset of Cabin candidates per column, and provides instance-specific approximation guarantees while efficiently identifying near-optimal Cabin configurations. Experimental results using TPC-H, SSB flat, and TPC-DS benchmarks show that compared to existing index selection methods, our proposed ϵ-Selection framework obtains better-performing index configurations under a variety of space constraints.

Authors

Institutions

Publication Details

Journal
ACM Transactions on Database Systems
Published
2026-11-26
DOI
https://doi.org/10.1145/3872098
Primary Topic
Advanced Database Systems and Queries
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

An Optimized Scan Index with Automatic Index Selection

Yiyuan Chen, Shimin Chen
ACM Transactions on Database Systems
Advanced Database Systems and Queries
article

An Optimized Scan Index with Automatic Index Selection

Yiyuan Chen, Shimin Chen
article en

Abstract

Scan is a fundamental operation widely used in main-memory analytical database systems. To accelerate scans, previous studies build either record-order or sort-order structures known as scan indices. While achieving good performance, scan indices often incur significant space overhead, limiting their use in main-memory databases. For example, the most recent and best performing scan index, BinDex, consists of a sort-order position array, which is an array of rowIDs in the value order, and a set of record-order bit vectors, representing records in pre-defined value intervals. The structures can be much larger than the base data column size. In this paper, we propose a novel scan index, Cabin, that exploits the following three techniques for better time-space tradeoff. 1) filter sketches that represent every 2 w − 2 value intervals with a w -bit sketched vector, thereby exponentially reducing the space for the bit vectors; 2) selective position array that removes the rowID array for a fraction of intervals in order to lower the space overhead for the position array; and 3) data-aware intervals that judiciously select interval boundaries based on the data characteristics to better support popular values in skewed data distributions or categorical attributes. Experimental results show that compared with state-of-the-art scan solutions, Cabin achieves better time-space tradeoff, and attains 1.70 – 4.48x improvement for average scan performance given the same space budget. In addition, we investigate how to apply Cabin under a global space budget constraint, which we formalize as the Cabin Selection Problem. Unlike the classical index selection problem, there can be a large number of candidate Cabin’s on each data column under consideration with different time-space tradeoffs. We develop the ϵ-Selection framework, a two-stage strategy that judiciously chooses a small subset of Cabin candidates per column, and provides instance-specific approximation guarantees while efficiently identifying near-optimal Cabin configurations. Experimental results using TPC-H, SSB flat, and TPC-DS benchmarks show that compared to existing index selection methods, our proposed ϵ-Selection framework obtains better-performing index configurations under a variety of space constraints.

ACM Transactions on Database Systems
Chinese Academy of Sciences (CN), Institute of Computing Technology (CN), University of Chinese Academy of Sciences (CN)
Advanced Database Systems and Queries
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon