Reordering Columns for Smaller Indexes

arXiv:0909.1346 First posted 2009-09-07 v8 Cited by 42 to appear in Information Sciences
Cite this paper ×
BibTeX
@misc{lemire2009reordering,
  title = {Reordering Columns for Smaller Indexes},
  author = {Daniel Lemire and Owen Kaser},
  year = {2009},
  eprint = {0909.1346},
  archivePrefix = {arXiv},
  primaryClass = {cs.DB},
  url = {https://arxiv.org/abs/0909.1346}
}
APA
Lemire, D., & Kaser, O. (2009). Reordering Columns for Smaller Indexes [Preprint]. arXiv. https://doi.org/10.48550/arXiv.0909.1346
GB/T 7714
LEMIRE D, KASER O. Reordering Columns for Smaller Indexes[EB/OL]. (2009-09-07)[2026-11-29]. https://arxiv.org/abs/0909.1346.

Abstract

Column-oriented indexes-such as projection or bitmap indexes-are compressed by run-length encoding to reduce storage and increase speed. Sorting the tables improves compression. On realistic data sets, permuting the columns in the right order before sorting can reduce the number of runs by a factor of two or more. Unfortunately, determining the best column order is NP-hard. For many cases, we prove that the number of runs in table columns is minimized if we sort columns by increasing cardinality. Experimentally, sorting based on Hilbert space-filling curves is poor at minimizing the number of runs.

Post #1 · the paper

Discussion

No comments yet. Start the discussion!