skip to main content
10.1145/342009.335421acmconferencesArticle/Chapter ViewAbstractPublication PagesmodConference Proceedingsconference-collections
Article
Free access

A chase too far?

Published: 16 May 2000 Publication History

Abstract

In a previous paper we proposed a novel method for generating alternative query plans that uses chasing (and back-chasing) with logical constraints. The method brings together use of indexes, use of materialized views, semantic optimization and join elimination (minimization). Each of these techniques is known separately to be beneficial to query optimization. The novelty of our approach is in allowing these techniques to interact systematically, eg. non-trivial use of indexes and materialized views may be enabled only by semantic constraints.
We have implemented our method for a variety of schemas and queries. We examine how far we can push the method in term of complexity of both schemas and queries. We propose a technique for reducing the size of the search space by “stratifying” the sets of constraints used in the (back)chase. The experimental results demonstrate that our method is practical (i.e., feasible and worthwhile).

References

[1]
Bonnie Baker. Responsible SQL: Creative Solutions for Performance Problems in DB2 for OS/390. DB2 Magazine, 4(2):5&55, Summer 1999. Available at htZp: //ww#. db2mag, corn/summer99199sp_prog, shtml.]]
[2]
Catriel Beeri and Yora# Kornatzky. Algebraic optimisation of object oriented query languages. Theoretical Computer Science, 116(1):59-94, August 1993.]]
[3]
1#. Bello and at. Materialized Views in Oracle. In Proc. of 24th VLDB Conference, pages 659-664, 1998.]]
[4]
U. Chakravarthy, J. Grant, and J. Minker. Logic-based approach to semantic query optimization. A CM Trans. actions on Database Systems, 15(2):162-207# 1990.]]
[5]
S. Chaudhuri, P#. Krishnamurty, S. Potamianos, and K. Shim. Optimizing queries with materialized views. In P#vceed#ngs of 1CDE, Taipei, Taiwan, March 1995.]]
[6]
Qi Cheng, Jarek Gryz, Fred Koo, T. Y. Cliff Leu#g, Linqi Liu, Xiaoyan Qian, and Berni Schiefer. Implementation of Two Semantic Query Optimization Techniques in DB2 Universal Database. In P,vc. of VLDB# pages 687-698, September 1999.]]
[7]
M. Cherniack and S. B. Zdonik. Inferring Function Semantics to Optimize Queries. In Proc. of 24th VLDB Conference, pages 239-250, 1998.]]
[8]
Sophie Cluet and Claude Delobel. A general framework for #he optimization of object oriented queries. In M. Stonebraker, editor, Proceedings A CM-SIGMOD International Conference on Management of Data, pages 383-392, San Diego, California, June 1992.]]
[9]
Alia Deutsch, Lucian Popa, and Val Tannen. Physical Data s Independence, Constraints and Optimization with Universal Plans. In VLDB, September 1999.]]
[10]
L. Fegaras and D. Maier. An algebraic framework for physical oodb design. In Proc. of the 5#h Int't Workshop on DataSase Programming Languages (DBPL95), Umbria, Italy, August 1995.]]
[11]
D. Florescu. Design and implementation of the Flora Object Oriented Query Optimizer. PhD thesis, Universite of Paris 6, 1996.]]
[12]
D. Florescu, L. Rashid, and P. Valduriez. A methodology for query reformulation in cis using semantic knowledge. International Journal of Cooperative Information Systems, 5(4), 1996.]]
[13]
J. Grant, J. Gryz, J. Minker, and L. Raschid. Semantic query optimization for object d#t#bases. In Proc. of ICDE, April 1997.]]
[14]
M. Jarke, J. Clifford, and Y. Vassiliou. An optimizing prolog front:end to a relational query system. In Proceedings of A CM-SIGMOD, pages 316-325, 1984.]]
[15]
A. Kemper and G. Moerkotte. Access support relations m object bases. In Proceedin9s of A CM:SIGMOD International Conference on Management of Data, pages 364-374, 199(I.]]
[16]
A. Levy. Answering Queries Using Views: A Survey. Forthcoming.]]
[17]
Greg Nelson and Derek C. Oppen. Fast decision algorithms ba#ed on union and find. In FOCS, pages 114-119.]]
[18]
Lucian Popa and Val Tannen. Chase and axioms for PC queries and dependencies. Technical Report MS- CIS-98-34. University of Pennsylvania, 1998. Available online at h#p://www.cis.upenn.edu/- techreports/.]]
[19]
Lucian Popa and Val Tannen. An equational ch#se for path-conjunctive queries, constraints, and views. In Proceedings of ICDT, Jerusalem, Israel, January 1999.]]
[20]
O. Tsatalos, M. Solomon, and Y. ioannidis. The GMAP: A Versatile Tool for Physical Data# Independence. VLDB Journal, 5(2):101-118, 1996.]]
[21]
P. Valduriez. Join indices. A CM Trans. Database Systems, 12(2):218-452, June 1987.]]
[22]
H.Z. Yang and P.A. Larson. Query transformatmn for psi queries, in Proceedings of the 13th International VLDB Conference, pages 245-254, 1987.]]

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
SIGMOD '00: Proceedings of the 2000 ACM SIGMOD international conference on Management of data
May 2000
604 pages
ISBN:1581132174
DOI:10.1145/342009
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 16 May 2000

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Article

Conference

SIGMOD/PODS00
Sponsor:

Acceptance Rates

SIGMOD '00 Paper Acceptance Rate 42 of 248 submissions, 17%;
Overall Acceptance Rate 785 of 4,003 submissions, 20%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)111
  • Downloads (Last 6 weeks)13
Reflects downloads up to 27 Dec 2024

Other Metrics

Citations

Cited By

View all

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media