2003 · 137 citations · 9 references
ComputingComputer ScienceAlgorithmsDatabasesParallel AlgorithmsAlgorithm AnalysisAlgorithmic ComplexityComputational ComplexityQuery ProcessingTime ComplexityXml DatabasesComplexityComplexity ClassesNc Complexity ClassPolynomial Time ComplexityPolynomial-time AlgorithmsQuery ComplexityXml Query ProcessingXpath
In this paper, we study the precise complexity of XPath 1.0 query processing. Even though heavily used by its incorporation into a variety of XML-related standards, the precise cost of evaluating an XPath query is not yet wellunderstood. The first polynomial-time algorithm for XPath processing (with respect to combined complexity) was proposed only recently, and even to this day all major XPath engines take time exponential in the size of the input queries. From the standpoint of theory, the precise complexity of XPath query evaluation is open, and it is thus unknown whether the query evaluation problem can be parallelized.In this work, we show that both the data complexity and the query complexity of XPath 1.0 fall into lower (highly parallelizable) complexity classes, but that the combined complexity is PTIME-hard. Subsequently, we study the sources of this hardness and identify a large and practically important fragment of XPath 1.0 for which the combined complexity is LOGCFL-complete and, therefore, in the highly parallelizable complexity class NC2.
9
The complexity of relational query languages (Extended Abstract)
Moshe Y. Vardi · 1982 · 1.2K citations
Computing, Computer Science, Algebra +16
Limits to parallel computation: P-completeness theory
Choice Reviews Online · 1996 · 422 citations
Efficient Algorithms for Processing XPath Queries
Georg Gottlob, Christoph Koch, Reinhard Pichler · Elsevier eBooks · 2002 · 239 citations · Full text
Problems complete for deterministic logarithmic space
Stephen Cook, Pierre McKenzie · Journal of Algorithms · 1987 · 169 citations
Two Applications of Inductive Counting for Complementation Problems
Allan Borodin, Stephen Cook, Patrick Dymond et al. · SIAM Journal on Computing · 1989 · 135 citations