Skip to main content

Querying indexed files

  • Conference paper
  • First Online:
Constraint Databases and Applications (CDB 1997)

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

Included in the following conference series:

  • 165 Accesses

Abstract

Database queries can be expressed as constraints imposed on the solution set of data items in the database. We propose an approach to incremental partial evaluation of queries in which we treat the index as a hierarchically tiered set of constraints which specify the sets of data items that can be found under subtrees of the index. At any given point in the evaluation, we proceed by propagating the constraints from the index structure into the query. The result is a general framework for making full use of index information in evaluation of queries, even for complex data types, that minimises fetches of blocks from disk for which there is sufficient information in the indices to deduce that they cannot contain data items that participate in the answer. The approach supports complex selections, joins, sorting and other database query operations.

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

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. J.L. Bentley and H.A. Maurer. Efficient worst-case data structures for range searching. Acta Information, 13(2):155–168, 1980.

    Google Scholar 

  2. Jon L. Bentley. Decomposable searching problems. Information Processing Letters, 8(5):133–136, Jun. 1979.

    Google Scholar 

  3. Jon L. Bentley. Multidimensional binary search trees used for associative searching. CACM, 18(9):509–517, Sep. 1985.

    Google Scholar 

  4. S. Bressan, A. Sexton, and M. Wallace. Implementing index data structures using constraint logic programming. In CP'96 Workshop on Constraints and Databases, Cambridge Massachusetts, USA, Aug. 1996.

    Google Scholar 

  5. D. Comer. The ubiquitous b-tree. Computing Surveys, 11(2):121–137, June 1979.

    Google Scholar 

  6. S. P. Dandamudi and P.G.Sorenson. Algorithms for bd trees. Software — Practice and Experience, 16(2):1077–1096, Dec. 1986.

    Google Scholar 

  7. M. Freeston. The bang file: a new kind of grid file. In Proceedings of the ACM SIGMOD Conference, pages 260–269, San Francisco, May 1987.

    Google Scholar 

  8. Michael Freeston. A general solution of the n-dimensional b-tree problem. In Proceedings of the ACM SIGMOD International Conference on Management of Data, pages 80–91, San Jose, California, May 1986.

    Google Scholar 

  9. M.W. Freeston. Advances in the design of the bang file. In Proceedings of the Third International Conference on Foundations of Data Organization and Algorithms (FODO3), Paris, France, Jun. 1989.

    Google Scholar 

  10. G. Graefe. Query evaluation techniques for large databases. Computing Surveys, 25(2):73–170, June 1993.

    Google Scholar 

  11. Joseph M. Hellerstein, Jeffrey F. Naughton, and Avi Pfeffer. Generalized search trees for database systems. In Proceedings of the 21st VLDB Conference, pages 562–573, Zurich, Switzerland, 1995.

    Google Scholar 

  12. C. A. R. Hoare. Quicksort. Computer Journal, 5(1):10–15, 1962.

    Google Scholar 

  13. P. Kanellakis, G. Kuper, and P. Revesz. Constraint query languages. In Proceedings of the 9th ACM Symposium on Principles of Database Systems, pages 233–243, Nashville, 1990.

    Google Scholar 

  14. David B. Lomet and Betty Salzberg. A robust multi-attribute search structure. In Proceedings of the 5th International Conference on Data Engineering, pages 296–304, 1989.

    Google Scholar 

  15. David B. Lomet and Betty Salzberg. The hB-tree: A multiattribute indexing method with good guaranteed performance. ACM Transactions on Database Systems, 15(4):625–658, Dec. 1990.

    Google Scholar 

  16. G. M. Morton. A computer-oriented geodetic data base and a new technique in file sequencing. IBM Ltd. Ottawa, Canada, 1966.

    Google Scholar 

  17. Thomas A. Mueck and Manfred J. Schauer. Optimizing sort order query execution in balanced and nested grid files. IEEE Transactions on Knowledge and Data Engineering, 7(2):246–260, April 1995.

    Google Scholar 

  18. Y. Ohsawa and M. Sakauchi. The bd-tree — a new n-dimensional data structure with highly efficient dynamic characteristics. In Proceedings of the IFIP Conference, pages 539–544, Paris, France, 1983.

    Google Scholar 

  19. J. Orenstein and T. Merrett. A class of data structures for associative searching. In Proceedings of the ACM Principles of Database Systems Conference, pages 181–190, Waterloo, Canada, 1984.

    Google Scholar 

  20. J. T. Robinson. The K-D-B-tree: A search structure for large multidimensional dynamic indexes. In Proceedings of the ACM SIGMOD Conference, pages 10–18, Ann Arbor, Michigan, Apr. 1981.

    Google Scholar 

  21. B. Salzberg. File Structures: An Analytic Approach. Prentice-Hall, Englewood Cliffs, NJ, 1988.

    Google Scholar 

  22. Alan P. Sexton. Sorting indexed files. In preparation, University of Birmingham, UK, School of Computer Science, 1996.

    Google Scholar 

  23. H. Tropf and H. Herzog. Multidimensional range search in dynamically balanced trees. Angewandte Informatik, 23(2):71–77, Feb. 1981.

    Google Scholar 

  24. Marvin White. N-trees: Large ordered indexes for multi-dimensional space. Technical report, U.S. Bureau of the Census, Application Mathematics Research Staff, Statistical Research Division, Mar. 1982.

    Google Scholar 

  25. D.E. Willard. The super B-tree algorithm. Technical Report TR-22-78, Aiken Computation Lab, Harvard University, 1979.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Volker Gaede Alexander Brodsky Oliver Günther Divesh Srivastava Victor Vianu Mark Wallace

Rights and permissions

Reprints and permissions

Copyright information

© 1996 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Sexton, A.P. (1996). Querying indexed files. In: Gaede, V., Brodsky, A., Günther, O., Srivastava, D., Vianu, V., Wallace, M. (eds) Constraint Databases and Applications. CDB 1997. Lecture Notes in Computer Science, vol 1191. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-62501-1_37

Download citation

  • DOI: https://doi.org/10.1007/3-540-62501-1_37

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-62501-8

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

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics