• DocumentCode
    2835988
  • Title

    Improving list comprehension database queries

  • Author

    Trinder, Phil ; Wadler, Philip

  • Author_Institution
    Oxford Univ., UK
  • fYear
    1989
  • fDate
    22-24 Nov 1989
  • Firstpage
    186
  • Lastpage
    192
  • Abstract
    The improvement of queries expressed as list comprehensions in a lazy functional language is described. The database literature identifies four algebraic and two implementation-based improvement strategies. For each strategy the authors show an equivalent improvement for queries expressed as list comprehensions. This means that well-developed database algorithms that improve queries using several of these strategies can be emulated to improve comprehension queries. They are also able to improve queries which require greater power than that provided by the relational algebra. Most of the improvements entail transforming a simple, inefficient query into a more complex, but more efficient form. The authors illustrate each improvement using examples drawn from the database literature
  • Keywords
    database management systems; database theory; functional programming; database algorithms; lazy functional language; list comprehension database queries; Algebra; Calculus; Database systems; Functional programming; Performance evaluation; Query processing; Relational databases; Tail;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    TENCON '89. Fourth IEEE Region 10 International Conference
  • Conference_Location
    Bombay
  • Type

    conf

  • DOI
    10.1109/TENCON.1989.176921
  • Filename
    176921