The Community for Technology Leaders
Green Image
Issue No. 12 - December (2008 vol. 20)
ISSN: 1041-4347
pp: 1627-1640
Divyakant Agrawal , NEC Laboratories America, Cupertino
Songting Chen , NEC Laboratories America, Cupertino
Hua-Gang Li , NEC Laboratories America, Cupertino
K. Selçuk Candan , NEC Laboratories America, Cupertino
Wang-Pin Hsiung , NEC Laboratories America, Cupertino
Jun'ichi Tatemura , NEC Laboratories America, Cupertino
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 a shared bottom-up path matching. Second, with the aid of this TOP encoding, we can 1) achieve polynomial time and space complexity for post processing, 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 post processing for GTP queries. Extensive performance studies show that our GFilter solution 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.
XML filtering, XML streams, generalized-tree-pattern queries, result encoding
Divyakant Agrawal, Songting Chen, Hua-Gang Li, K. Selçuk Candan, Wang-Pin Hsiung, Jun'ichi Tatemura, "Scalable Filtering of Multiple Generalized-Tree-Pattern Queries over XML Streams", IEEE Transactions on Knowledge & Data Engineering, vol. 20, no. , pp. 1627-1640, December 2008, doi:10.1109/TKDE.2008.83
98 ms
(Ver 3.1 (10032016))