Efficient Algorithm for determining the Optimal Execution Strategy for Path Queries in OODBS

To select an optimal query evaluation strategy for a path query in an object-oriented database system one has to exploit the available index structures on the path. In a database with a large database schema many alternative strategies have to be considered for the evaluation of a path query by choosing from a large set of available indices, which can make the selection of the optimal strategy expensive. We give an algorithm that finds the optimal strategy for evaluating a path query with time complexity independent of the set of indices available in the database. The algorithm considers all possible forward and backward traversal strategies and has time complexity O(n2) in the path length n. Incorporating this algorithm into the query optimization for object-oriented database management systems can improve the response time of the system, by optimizing an equally important and frequent type of queries with high efficiency.

[1]  Alfred V. Aho,et al.  Efficient string matching , 1975, Commun. ACM.

[2]  R. G. G. Cattell,et al.  Object Data Management: Object-Oriented and Extended Relational Database Systems (Revised Edition) , 1991 .

[3]  Elisa Bertino,et al.  Path-Index: An Approach to the Efficient Execution of Object-Oriented Queries , 1993, Data Knowl. Eng..

[4]  Philip S. Yu,et al.  On Index Selection Schemes for Nested Object Hierarchies , 1994, VLDB.

[5]  John Beidler,et al.  Data Structures and Algorithms , 1996, Wiley Encyclopedia of Computer Science and Engineering.

[6]  Guido Moerkotte,et al.  Advanced Query Processing in Object Bases Using Access Support Relations , 1990, VLDB.

[7]  Karl Aberer,et al.  Semantic query optimization for methods in object-oriented database systems , 1995, Proceedings of the Eleventh International Conference on Data Engineering.

[8]  Alfred V. Aho,et al.  Data Structures and Algorithms , 1983 .

[9]  Elisa Bertino,et al.  Index configuration in object-oriented databases , 1994, VLDB J..

[10]  Elisa Bertino,et al.  On the selection of optimal index configuration in OO databases , 1994, Proceedings of 1994 IEEE 10th International Conference on Data Engineering.

[11]  Elisa Bertino,et al.  Indexing Techniques for Queries on Nested Objects , 1989, IEEE Trans. Knowl. Data Eng..

[12]  Alfred V. Aho,et al.  Code generation using tree matching and dynamic programming , 1989, ACM Trans. Program. Lang. Syst..

[13]  David Maier,et al.  The Theory of Relational Databases , 1983 .