Scalable filtering of multiple generalized-tree-pattern queries over XML streams

Songting Chen, Hua Gang Li, Ju N.Ichi Tatemura, Wang Pin Hsiung, Divyakant Agrawal, K. Selçuk Candan

Research output: Contribution to journalArticlepeer-review

17 Scopus citations


An XML publish/subscribe system needs to filter a large number of queries over XML streams. Most existing systems only consider filtering the simple XPath statements. In this paper, we focus on filtering of the more complex Generalized-Tree-Pattern (GTP) queries. Our filtering mechanism is based on a novel Tree-of-Path (TOP) encoding scheme, which compactly represents the path matches for the entire document. First, we show that the TOP encodings can be efficiently produced via shared bottom-up path matching. Second, with the aid of this TOP encoding, we can 1) achieve polynomial time and space complexity for postprocessing, 2) avoid redundant predicate evaluations, 3) allow an efficient duplicate-free and merge join-based algorithm for merging multiple encoded path matches, and 4) simplify the processing of GTP queries. Overall, our approach maximizes the sharing opportunity across queries by exploiting the suffix as well as prefix sharing. At the same time, our TOP encodings allow efficient postprocessing for GTP queries. Extensive performance studies show that GFilter not only achieves significantly better filtering performance than state-of-the-art algorithms but also is capable of efficiently filtering the more complex GTP queries.

Original languageEnglish (US)
Article number4509431
Pages (from-to)1627-1640
Number of pages14
JournalIEEE Transactions on Knowledge and Data Engineering
Issue number12
StatePublished - Dec 2008
Externally publishedYes


  • Generalized-tree-pattern queries
  • Result encoding
  • XML filtering
  • XML streams

ASJC Scopus subject areas

  • Information Systems
  • Computer Science Applications
  • Computational Theory and Mathematics


Dive into the research topics of 'Scalable filtering of multiple generalized-tree-pattern queries over XML streams'. Together they form a unique fingerprint.

Cite this