pith. sign in

arxiv: 1012.5696 · v1 · pith:ZYDCHTLXnew · submitted 2010-12-28 · 💻 cs.DB

Fast and Tiny Structural Self-Indexes for XML

classification 💻 cs.DB
keywords indexfasterstructuralxpathalgorithmsallowsbecauseexecute
0
0 comments X
read the original abstract

XML document markup is highly repetitive and therefore well compressible using dictionary-based methods such as DAGs or grammars. In the context of selectivity estimation, grammar-compressed trees were used before as synopsis for structural XPath queries. Here a fully-fledged index over such grammars is presented. The index allows to execute arbitrary tree algorithms with a slow-down that is comparable to the space improvement. More interestingly, certain algorithms execute much faster over the index (because no decompression occurs). E.g., for structural XPath count queries, evaluating over the index is faster than previous XPath implementations, often by two orders of magnitude. The index also allows to serialize XML results (including texts) faster than previous systems, by a factor of ca. 2-3. This is due to efficient copy handling of grammar repetitions, and because materialization is totally avoided. In order to compare with twig join implementations, we implemented a materializer which writes out pre-order numbers of result nodes, and show its competitiveness.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Constant Delay Traversal of Grammar-Compressed Graphs with Bounded Rank

    cs.DS 2019-07 unverdicted novelty 5.0

    Presents a pointer-based data structure enabling constant-time traversal of edges in grammar-compressed hypergraphs with bounded rank and per-vertex edge uniqueness constraints, with stated preprocessing bounds.