English

Robust and Scalable Content-and-Structure Indexing (Extended Version)

Databases 2022-09-13 v1

Abstract

Frequent queries on semi-structured hierarchical data are Content-and-Structure (CAS) queries that filter data items based on their location in the hierarchical structure and their value for some attribute. We propose the Robust and Scalable Content-and-Structure (RSCAS) index to efficiently answer CAS queries on big semi-structured data. To get an index that is robust against queries with varying selectivities we introduce a novel dynamic interleaving that merges the path and value dimensions of composite keys in a balanced manner. We store interleaved keys in our trie-based RSCAS index, which efficiently supports a wide range of CAS queries, including queries with wildcards and descendant axes. We implement RSCAS as a log-structured merge (LSM) tree to scale it to data-intensive applications with a high insertion rate. We illustrate RSCAS's robustness and scalability by indexing data from the Software Heritage (SWH) archive, which is the world's largest, publicly-available source code archive.

Keywords

Cite

@article{arxiv.2209.05126,
  title  = {Robust and Scalable Content-and-Structure Indexing (Extended Version)},
  author = {Kevin Wellenzohn and Michael H. Böhlen and Sven Helmer and Antoine Pietri and Stefano Zacchiroli},
  journal= {arXiv preprint arXiv:2209.05126},
  year   = {2022}
}

Comments

28 pages

R2 v1 2026-06-28T01:06:54.946Z