Computer Science > Databases
[Submitted on 7 Sep 2009 (v1), last revised 22 Feb 2011 (this version, v8)]
Title:Reordering Columns for Smaller Indexes
View PDFAbstract: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.
Submission history
From: Daniel Lemire [view email][v1] Mon, 7 Sep 2009 21:34:52 UTC (173 KB)
[v2] Thu, 10 Sep 2009 03:38:20 UTC (217 KB)
[v3] Wed, 6 Jan 2010 01:28:29 UTC (100 KB)
[v4] Mon, 22 Mar 2010 19:04:11 UTC (135 KB)
[v5] Mon, 6 Sep 2010 13:00:38 UTC (133 KB)
[v6] Thu, 6 Jan 2011 23:57:37 UTC (145 KB)
[v7] Wed, 9 Feb 2011 21:38:42 UTC (145 KB)
[v8] Tue, 22 Feb 2011 16:00:56 UTC (145 KB)
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.