ACM Transactions on Database Systems · 2008 · 18 citations · 10 references
ComputingComputer ScienceDatabasesFormal MethodsProgramming LanguagesData-flow AnalysisQuery OptimizationQuery ProcessingStructured Query LanguageXml DatabasesPath AnalysisStatic Structure AnalysisUpper BoundsXml Query LanguagesXml Query OptimizationXml Query ProcessingXml Update LanguagesXquery
An effective approach to support XML updates is to use XQuery extended with update operations. This approach results in very expressive languages which are convenient for users but are difficult to optimize or reason about. A crucial question underlying many static analysis problems for such languages, from optimization to view maintenance, is whether two expressions commute. Unfortunately, commutativity is undecidable for most existing XML update languages. In this article, we propose a conservative analysis for an expressive XML update language that can be used to determine commutativity. The approach relies on a form of path analysis that computes upper bounds for the nodes that are accessed or modified in a given expression. Our main result is a theorem that can be used to identify commuting expressions. We illustrate how the technique applies to concrete examples of query optimization in the presence of updates.
10
XQuery 1.0 : An XML Query Language
Scott Boag · Medical Entomology and Zoology · 2007 · 1.2K citations
Region-Based Memory Management
Mads Tofte, Jean-Pierre Talpin · Information and Computation · 1997 · 617 citations
Igor Tatarinov, Zachary G. Ives, Alon Halevy et al. · 2001 · 327 citations
Containment and equivalence for a fragment of XPath
Gerome Miklau, Dan Suciu · Journal of the ACM · 2004 · 304 citations