2008 · 15 citations · 12 references
ComputingComputer ScienceAlgebraCompilersDatabasesDatabase ManagementQuery OptimizationQuery ProcessingRelational AlgebraRelational DatabasesXml DatabasesAlgebraic LanguageJoinJoin ProcessingLogical Query OptimizationXml Query LanguagesXml Query OptimizationXml Query ProcessingXml Query Rewriting
The emergence of database languages with side effects, notably for XML, raises significant challenges for database compilers and optimizers. In this paper, we extend an algebra for the W3C XML query language with operations that allow data to be immediately updated. We study the impact of that extension on logical optimization, join detection, and pipelining. The main result of this work is to show that, with proper care, a number of important optimizations based on nested relational algebras remain applicable in the presence of side effects. Our approach relies on an analysis of the conditions that must be checked in order for algebraic rewritings to hold. An implementation and experimental results demonstrate the effectiveness of the approach. 1.
12
Imperative functional programming
Simon Jones, Philip Wadler · 1993 · 1.2K citations · Full text
Peter Buneman, Leonid Libkin, Dan Suciu et al. · ACM SIGMOD Record · 1994 · 213 citations · Full text
Kleisli, a functional query system
Limsoon Wong · Journal of Functional Programming · 2000 · 149 citations · Full text