Translating relational queries into iterative programs (Q1801247)

From MaRDI portal

!

This is the item page for this Wikibase entity, intended for internal use and editing purposes. Please use the normal view instead:

scientific article; zbMATH DE number 194798
Language Label Description Also known as
default for all languages
No label defined
    English
    Translating relational queries into iterative programs
    scientific article; zbMATH DE number 194798

      Statements

      Translating relational queries into iterative programs (English)
      0 references
      5 June 1993
      0 references
      This book investigates the problem of translating set-oriented query specifications into iterative programs. The translation uses techniques of functional programming and program transformation. The first part presents two algorithms which generate iterative programs from algebra-based query specifications. The first algorithm initially translates query specifications into recursive programs. Those are simplified by sets of transformation rules before the last step of the algorithm generates the final iterative form. The second algorithm uses a two level translation which generated iterative programs faster than the first algorithm. On the first level a small set of transformation rules performs structural simplification before the functional combination on the second level yields the final iterative form. In the second part the same techniques are used to generate efficient programs for the evaluation of aggregate functions. One possible evaluation strategy is to sort the relation before applying the aggregate function, or better yet, to perform aggregation while sorting. Several transformation steps systematically generate these more efficient programs from separate specifications for the sort algorithm and the aggregate function. Finally, the third part investigates the Lisp-dialect T as a possible implementation language for database systems.
      0 references
      query specifications
      0 references
      iterative programs
      0 references
      functional programming
      0 references
      program transformation
      0 references
      Lisp
      0 references
      database systems
      0 references
      0 references

      Identifiers

      0 references
      0 references
      0 references
      0 references
      0 references