Skip to main content

Finite Cursor Machines in Database Query Processing

  • Conference paper
Abstract State Machines 2004. Advances in Theory and Practice (ASM 2004)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 3052))

Included in the following conference series:

Abstract

A database system is often concerned with the processing of lists of tuples in a single scan, using constant amount of memory. In classical relational query processing [2], many of the relational algebra operators have simple single-scan implementations on sorted lists. In more recent data stream systems [1], single-scan processing is a must. Data warehousing software tools, such as those by Aruna, support database querying using index structures for text searching.

To improve our understanding of the possibilities and limitations of single-scan, constant-memory processing on lists of tuples, we define and study the abstract model of finite cursor machines. Finite cursor machines are, of course, instantiations of sequential ASMs.

In conjunction with sorting, finite cursor machines can evaluate a wide class of relational algebra expressions; in particular, they can compute all database queries expressible using semijoins rather than full joins. Challenging problems include delineating the precise computing power of finite cursor machines with sorting, and minimizing the number of sorting operations that are needed. We discuss these problems and present some preliminary results.

This is joint work with Dirk Leinders and Jerzy Tyszkiewicz.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Babcock, B., Babu, S., Datar, M., Motwani, R., Widom, J.: Models and issues in data stream systems. In: Proceedings 21st ACM Symposium on Principles of Database Systems, pp. 1–16 (2002)

    Google Scholar 

  2. Garcia-Molina, H., Ullman, J.D., Widom, J.: Database System Implementation. Prentice-Hall, Englewood Cliffs (1999)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Van den Bussche, J. (2004). Finite Cursor Machines in Database Query Processing. In: Zimmermann, W., Thalheim, B. (eds) Abstract State Machines 2004. Advances in Theory and Practice. ASM 2004. Lecture Notes in Computer Science, vol 3052. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-24773-9_5

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-24773-9_5

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-22094-7

  • Online ISBN: 978-3-540-24773-9

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics