publications: - title: "Dependable cardinality forecasts for XQuery" author: - name: "Jens Teubner" link: "http://people.inf.ethz.ch/jteubner/" - name: "Torsten Grust" link: "http://www-db.informatik.uni-tuebingen.de/team/grust" - name: "Sebastian Maneth" link: "http://www.cse.unsw.edu.au/~smaneth/" - name: "Sherif Sakr" link: "https://researchr.org/alias/sherif-sakr" year: "2008" doi: "http://www.vldb.org/pvldb/1/1453908.pdf" abstract: "Though inevitable for effective cost-based query rewriting, the derivation of meaningful cardinality estimates has remained a notoriously hard problem in the context of XQuery. By basing the estimation on a relational representation of the XQuery syntax, we show how existing cardinality estimation techniques for XPath and proven relational estimation machinery can play together to yield dependable forecasts for arbitrary XQuery (sub)expressions. Our approach benefits from a light-weight form of data flow analysis. Abstract domain identifiers guide our query analyzer through the estimation process and allow for informed decisions even in case of deeply nested XQuery expressions. A variant of projection paths provides a versatile interface into which existing techniques for XPath cardinality estimation can be plugged in seamlessly. We demonstrate an implementation of this interface based on data guides. Experiments show how our approach can equally cope with both, structure- and value-based queries. It is robust with respect to intermediate estimation errors, from which we typically found our implementation to recover gracefully." links: doi: "http://www.vldb.org/pvldb/1/1453908.pdf" tags: - "Cost Estimation" - "relational data base" - "rule-based" - "intermediate representation" - "XQuery" - "abstract syntax" - "graph query" - "XPath" - "domain analysis" - "analysis" - "data-flow" - "graph-rewriting" - "context-aware" - "rewriting" - "data-flow analysis" - "systematic-approach" researchr: "https://researchr.org/publication/TeubnerGMS08" cites: 20 citedby: 2 journal: "pvldb" volume: "1" number: "1" pages: "463-477" kind: "article" key: "TeubnerGMS08"