A fast transformation method to semantic query optimisation

Semantic query optimisation is a comparatively recent approach for the transformation of a given query into equivalent alternative queries using matching rules in order to select an optimum query based on the costs of executing these alternative queries. The most important aspect of this optimisation approach is that this resultant query can be processed more efficiently than the original query. This paper describes how a near optimal alternative query may be found in far less time than existing approaches. The method uses the concept of a 'search ratio' associated with each matching rule. The search ratio of a matching rule is based on the cost of the antecedent and consequent conditions of the rule. This cost is related to the number of instances in the database determined by these conditions. This knowledge about the number of instances is available and can be recorded when the rules are first derived. We then compare search ratios of rules to select the most restrictive rules for the construction of a near optimum query. The technique works efficiently regardless of the number of matching rules, since resources are not used to construct all alternative queries. This means that transformation and selection costs are minimised in our system. It is hoped that this method will prove a viable alternative to the expensive optimisation process normally associated with semantic query optimisation.

[1]  Edward Sciore,et al.  A method for automatic rule derivation to support semantic query optimization , 1992, TODS.

[2]  Paolo Tiberio,et al.  Estimating the cost of updates in a relational database , 1985, TODS.

[3]  Gregory Piatetsky-Shapiro,et al.  Measuring data dependencies in large databases , 1993 .

[4]  Craig A. Knoblock,et al.  Rule Induction for Semantic Query Optimization , 1994, KDD Workshop.

[5]  Shashi Shekhar,et al.  Learning Transformation Rules for Semantic Query Optimization: A Data-Driven Approach , 1993, IEEE Trans. Knowl. Data Eng..

[6]  David J. DeWitt,et al.  The EXODUS optimizer generator , 1987, SIGMOD '87.

[7]  Barry G. T. Lowden An approach to multikey sequencing in an equiprobable keyterm retrieval situation , 1985, SIGIR '85.

[8]  R. Michalski,et al.  Discovering attribute dependence in databases by integrating symbolic learning and statistical analysis techniques , 1993 .

[9]  Jonathan J. King QUIST: A System for Semantic Query Optimization in Relational Databases , 1981, VLDB.

[10]  Guy M. Lohman,et al.  R* optimizer validation and performance evaluation for local queries , 1986, SIGMOD '86.

[11]  Clement T. Yu,et al.  Automatic Knowledge Acquisition and Maintenance for Semantic Query Optimization , 1989, IEEE Trans. Knowl. Data Eng..

[12]  Jiawei Han,et al.  Data-Driven Discovery of Quantitative Rules in Relational Databases , 1993, IEEE Trans. Knowl. Data Eng..

[13]  Z. Meral Özsoyoglu,et al.  Design and Implementation of a Semantic Query Optimizer , 1989, IEEE Trans. Knowl. Data Eng..

[14]  Soumitra Dutta,et al.  A formal model of trade-off between optimization and execution costs in semantic query optimization , 1988, Data Knowl. Eng..

[15]  John Grant,et al.  Logic-based approach to semantic query optimization , 1990, TODS.

[16]  Barry G. T. Lowden,et al.  A Semantic Query Optimiser using Automatic Rule Derivation , 1995 .

[17]  Shashi Shekhar,et al.  Optimization: Learning Transformation Rules for Semantic Query A Data-Driven Approach , 1993 .