+612 9045 4394
Translating Relational Queries Into Iterative Programs : Lecture Notes in Computer Science - Johann Christoph Freytag

Translating Relational Queries Into Iterative Programs

Lecture Notes in Computer Science

Paperback Published: 24th June 1987
ISBN: 9783540180005
Number Of Pages: 134

Share This Book:


or 4 easy payments of $29.04 with Learn more
Ships in 5 to 9 business days

This book investigates the problem of translating relational queries into iterative programs using methods and techniques from the areas of functional programming and program transformation. The first part presents two algorithms which generate iterative programs from algebra-based query specifications. While the first algorithm is based on the transformation of recursive programs, the second uses functional expressions to generate the final iterative form. In the second part the same techniques generate efficient programs for the evaluation of aggregate functions in relational database systems. In several steps, programs which perform aggregation after sorting, are transformed into programs which perform aggregation while sorting. The third part then investigates the Lisp-dialect T as a possible implementation language for database systems. The book describes all transformations by transformation rules. The reader can expect a formal treatment of the proposed transformations which provide the basis for proving the correctness of the algorithms and, at the same time, give important insight into the techniques and methods developed for the transformation. Additionally, the high-level, detailed description of the algorithms immediately leads to their implementation and allows their extension to meet new requirements. Overall, the use of transformation rules and transformation methods introduces a new approach to query processing in relational database systems.

Contents: Introduction.- Data Models and Rewriting Systems.- A Transformation System based on Recursive Programs.- Query Transformation based on Map Expressions.- The Transformation of Aggregate Functions.- The Implementation of Database Systems in T.- Conclusion and Future Work.- Appendix: Measurements of T and C Functions.- Bibliography.- List of Figures.- List of Tables.

ISBN: 9783540180005
ISBN-10: 3540180001
Series: Lecture Notes in Computer Science
Audience: General
Format: Paperback
Language: English
Number Of Pages: 134
Published: 24th June 1987
Country of Publication: DE
Dimensions (cm): 23.39 x 15.6  x 0.81
Weight (kg): 0.22