Order-Preserving Key Compression for In-Memory Search Trees

03/05/2020
by   Huanchen Zhang, et al.
0

We present the High-speed Order-Preserving Encoder (HOPE) for in-memory search trees. HOPE is a fast dictionary-based compressor that encodes arbitrary keys while preserving their order. HOPE's approach is to identify common key patterns at a fine granularity and exploit the entropy to achieve high compression rates with a small dictionary. We first develop a theoretical model to reason about order-preserving dictionary designs. We then select six representative compression schemes using this model and implement them in HOPE. These schemes make different trade-offs between compression rate and encoding speed. We evaluate HOPE on five data structures used in databases: SuRF, ART, HOT, B+tree, and Prefix B+tree. Our experiments show that using HOPE allows the search trees to achieve lower query latency (up to 40% lower) and better memory efficiency (up to 30% smaller) simultaneously for most string key workloads.

READ FULL TEXT

page 12

page 13

page 16

page 18

research
09/18/2023

On Random Tree Structures, Their Entropy, and Compression

Measuring the complexity of tree structures can be beneficial in areas t...
research
03/01/2021

On the Cost of Unsuccessful Searches in Search Trees with Two-way Comparisons

Search trees are commonly used to implement access operations to a set o...
research
10/17/2019

EvoZip: Efficient Compression of Large Collections of Evolutionary Trees

Phylogenetic trees represent evolutionary relationships among sets of or...
research
09/06/2022

An Adaptive Column Compression Family for Self-Driving Databases

Modern in-memory databases are typically used for high-performance workl...
research
02/20/2023

Reducing the memory usage of Lattice-Boltzmann schemes with a DWT-based compression

This paper presents a new solution to address the challenge of increasin...
research
07/14/2023

Zip-zip Trees: Making Zip Trees More Balanced, Biased, Compact, or Persistent

We define simple variants of zip trees, called zip-zip trees, which prov...
research
09/24/2020

Compressed Key Sort and Fast Index Reconstruction

In this paper we propose an index key compression scheme based on the no...

Please sign up or login with your details

Forgot password? Click here to reset