Sciweavers

ICDT
2003
ACM

Processing XML Streams with Deterministic Automata

13 years 9 months ago
Processing XML Streams with Deterministic Automata
We consider the problem of evaluating a large number of XPath expressions on an XML stream. Our main contribution consists in showing that Deterministic Finite Automata (DFA) can be used effectively for this problem: in our experiments we achieve a throughput of about 5.4MB/s, independent of the number of XPath expressions (up to 1,000,000 in our tests). The major problem we face is that of the size of the DFA. Since the number of states grows exponentially with the number of XPath expressions, it was previously believed that DFAs cannot be used to process large sets of expressions. We make a theoretical analysis of the number of states in the DFA resulting from XPath expressions, and consider both the case when it is constructed eagerly, and when it is constructed lazily. Our analysis indicates that, when the automaton is constructed lazily, and under certain assumptions about the structure of the input XML data, the number of states in the lazy DFA is manageable. We also validate ex...
Todd J. Green, Gerome Miklau, Makoto Onizuka, Dan
Added 06 Jul 2010
Updated 06 Jul 2010
Type Conference
Year 2003
Where ICDT
Authors Todd J. Green, Gerome Miklau, Makoto Onizuka, Dan Suciu
Comments (0)