Cabin: A Compressed Adaptive Binned Scan Index
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- RABIT: Efficient Range Queries with Bitmap Indexing 引用了 CUBIT: Concurrent Updatable Bitmap Indexing
- RABIT: Efficient Range Queries with Bitmap Indexing 引用了 BinDex: A Two-Layered Index for Fast and Robust Scans
- CUBIT: Concurrent Updatable Bitmap Indexing 引用了 BinDex: A Two-Layered Index for Fast and Robust Scans
引用它的顶会 Paper2
它引用的 Paper1
相关 Paper
- LiveBin: A Localized and Version-Aware Binned Scan IndexZikang Liu, Linwei Li, Fei Ye, Zhenying He 等SIGMOD 2026
- RTScan: Efficient Scan with Ray Tracing CoresYangming Lv, Kai Zhang, Ziming Wang, Xiaodong Zhang 等VLDB 2024 · 13 次引用
- HINT: A Hierarchical Index for Intervals in Main MemoryGeorge Christodoulou, Panagiotis Bouros, Nikos MamoulisSIGMOD 2022 · 17 次引用
- Provenance-based Data SkippingXing Niu, Boris Glavic, Ziyu Liu, Pengyuan Li 等VLDB 2022 · 9 次引用
- LIT: Lightning-fast In-memory Temporal IndexingGeorge Christodoulou, Panagiotis Bouros, Nikos MamoulisSIGMOD 2024 · 10 次引用
