Abstract
Constraint technology can be used to extend the functionality and performance of current database systems in a variety of ways. In this paper, we show how to use constraints for the processing of queries that contain user-defined functions. Such functions are a common feature in many extended and object-oriented database applications. By representing knowledge about the functions through constraints, the efficiency of query optimization and execution can be improved significantly. We demonstrate the potential of our technique on several examples from spatial data management.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
K. Aberer and G. Fischer. Object-oriented query processing: The impact of methods on language, architecture and optimization. Technical Report GMD no. 763, GMD-IPSI, Darmstadt, Germany, 1993.
M. Atkinson, F. Bancilhon, D. DeWitt, K. Dittrich, D. Maier, and S. Zdonik. The object-oriented database system manifesto. In Proc. 1st Int. Conf. on Distributed and Object-Oriented Design, 1989. Reprinted in [31].
T. Atwood, J. Duhl, G. Ferran, M. Loomis, and D. Wade, editors. The Object Database Standards: ODMG-93. Morgan-Kaufmann, 1994.
F. Bancilhon. A query language for the O2 object-oriented database systems. In 2nd International Workshop on Database Programming Languages, 1989. Reprinted in [5].
F. Bancilhon, C. Delobel, and P. Kannelakis, editors. Building an Object-Oriented Database System. Morgan-Kaufmann, 1992.
E. Bertino. Method precomputation in object-oriented databases. In ACM-SIGOIS and IEEE-TC-OA International Conference on Organizational Computing Systems (COCS91), 1991.
J. A. Blakeley. Object query module. Technical report, Texas Instrument Incorporation, 1991. DARPA Open Object-Oriented Database Preliminary Module Specification.
A. Brodsky, J. Jaffar, and M. J. Maher. Toward practical constraint databases. In Proc. 19th Int. Conference on Very Large Databases (VLDB), pages 567–580, 1993.
J. Cardiff. Semantic query optimization in heterogeneous DBMSs. In Proc. 20th Hawaii Conf. on System Sciences, pages 273–282, 1994.
S. Chaudhuri and K. Shim. Query optimization in the presence of foreign functions. In Proc. 19th Int. Conference on Very Large Data Bases (VLDB), pages 529–542, 1993.
R. Elmasri and S. B. Navathe. Fundamentals of Database Systems. The Benjamin/Cummings Publishing Company, Inc, 1989.
J.C. Freytag, D. Maier, and G. Vossen, editors. Query Processing for advanced database systems. Morgan Kaufmann, 1994.
T. Frühwirth, A. Herold, V. Küchenhoff, T. Le Provost, P. Lim, E. Monfroy, and M. Wallace. Constraint logic programming: An informal introduction. Technical Report ECRC-93-5, ECRC, Munich, Germany, 1993. Available by ftp from ftp.ecrc.de.
V. Gaede and O. Günther. Efficient processing of queries containing user-defined predicates. In Proc. 4th Int. Conference on Deductive and Object-Oriented Databases (DOOD'95), 1995.
V. Gaede and O. Günther. Processing joins with user-defined functions. Technical Report 94-013, ICSI, Berkeley, California, March 1994.
V. Gaede and W.-F. Riekert. Spatial access methods and query processing in the object-oriented GIS GODOT. In Proc. of the AGDM'94 Workshop, pages 40–52, Delft, The Netherlands, 1994. Netherlands Geodetic Commission.
G. Graefe and D. Maier. Query optimization in object-oriented database system: A prospectus. In K. R. Dittrich, editor, Advances in Object-Oriented Database System, pages 358–363. Springer Verlag, September 1988. LNCS, No. 334.
O. Günther. Efficient computation of spatial joins. In Proc. IEEE 9th Int. Conference on Data Engineering, 1993.
J. M. Hellerstein. Practical predicate placement. In Proc. ACM SIGMOD Conference on Management of Data, pages 325–335, 1994.
J. M. Hellerstein and M. Stonebraker. Predicate migration: Optimizing queries with expensive predicates. In Proc. ACM SIGMOD Conference on Management of Data, pages 267–276, 1993.
P. C. Kanellakis and D. Q. Goldin. Constraint programming and database query languages. Technical Report CS-94-31, Brown University, Providence, 1994.
P. C. Kanellakis, G.M. Kuper, and P.Z. Revesz. Constraint query languages. Technical Report CS-92-50, Brown University, Providence, 1992.
P.C. Kanellakis, S. Ramaswamy, D.E. Vengroff, and J.S. Vitter. Indexing for data models with constraints and classes. In Proc. 12th ACM PODS, pages 233–243, 1993.
A. Kemper, C. Kilger, and G. Moerkotte. Function materialization in object bases. In Proc. ACM SIGMOD Conference on Management of Data, pages 258–268, 1991.
A. Kemper, G. Moerkotte, K. Peithner, and M. Steinbrunn. Optimizing disjunctive queries with expensive predicates. In Proc. ACM SIGMOD Conference on Management of Data, pages 336–347, 1994.
A. Kemper, G. Moerkotte, and M. Steinbrunn. Optimizing boolean expressions in object bases. In Proc. 18th Int. Conference on Very Large Database (VLDB), pages 79–90, 1992.
J.J. King. QUIST: A system for semantic query optimization in relational databases. In Proc. 7th International Conference on Very Large Databases (VLDB), pages 510–517, 1981.
D. Maier, S. Daniels, T. Keller, B. Vance, and G. Graefe W.J. McKenna. Challenges for query processing in object-oriented databases. In [12], pages 337–381, 1994.
P. Mishra and M. H. Eich. Join processing in relational databases. ACM Computing Surveys, 24(1):63–113, March 1992.
S. T. Shenoy and Z. M. Ozsoyoglu. A system for semantic query optimization. In Proc. ACM SIGMOD Conference on the Management of Data, pages 181–195, 1987.
M. Stonebraker, editor. Readings in Database Systems, San Mateo, 1994. Morgan Kaufmann. Second edition.
J. Ullman. Principles of Database and Knowledge Base Systems, volume 1. Computer Science Press, 1988.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1996 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Gaede, V., Günther, O. (1996). Constraint-based query optimization and processing. In: Kuper, G., Wallace, M. (eds) Constraint Databases and Application. CDB 1995. Lecture Notes in Computer Science, vol 1034. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-60794-3_15
Download citation
DOI: https://doi.org/10.1007/3-540-60794-3_15
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-60794-6
Online ISBN: 978-3-540-49456-0
eBook Packages: Springer Book Archive