2005 · 15 citations · 12 references
ComputingComputer ScienceAlgorithmsData StructuresDatabasesAlgorithm AnalysisMemory HierarchyQuery ProcessingSearching AlgorithmsStreaming AlgorithmsXml DatabasesMemory Hierarchy AlgorithmsMemory SpaceMemory-bounded AlgorithmsSearch Complexity AnalysisXml Query ProcessingXml Stream ProcessingXpath
We present an efficient algorithm for evaluating an XPath query Q (involving only child and descendant axes) on a streaming XML document D. Previously known in-memory algorithms for XPath evaluation use O(|D|) space and O(|Q||D|) time. Several previous al-gorithms for the streaming version use Θ(dn+c) space and Θ(dn|D|) time in the worst case; d is the depth of D, n is the number of location steps in Q, and c is the maximum number of candidate elements for output at any one time. In the worst case, the exponential Θ(dn) space alone could well exceed the O(|D|) space used by the in-memory algorithms. Our algorithm uses O(d|Q|+cn) space and O((|Q|+d+n2)|D|) time in the worst case. So, our algorithm is runtime competitive with the in-memory algorithms, while using much less memory space. 1
12
Nicolas Bruno, Nick Koudas, Divesh Srivastava · 2002 · 876 citations
Stream processing of XPath queries with predicates
Ashish Gupta, Dan Suciu · 2003 · 282 citations
YFilter: efficient and scalable filtering of XML documents
Yanlei Diao, Peter M. Fischer, Michael J. Franklin et al. · 2003 · 244 citations
Efficient filtering of XML documents with XPath expressions
Chee-Yong Chan, Pascal Felber, Minos Garofalakis et al. · 2003 · 242 citations