Multimedia selection operation placement

Based on the assumption that selections are zero-expense operations, “selection pushdown” rules, which apply selections in random order before as many joins as possible in order to reduce subsequent join costs, have been widely applied in traditional query optimization methods. However, in multimedia information systems, selections generally contain expensive multimedia operations, making “pushdown” rules no longer able to produce optimal query execution plan. Therefore, we in this paper develop a theory for optimizing queries with expensive multimedia operations, which can establish the optimal placement of each multimedia operation in a query plan by the comprehensive consideration of selectivity and unit execution cost of each operation. Then we present an algorithm for the theory and implement it in a prototype system. Experimental results show that, compared with traditional optimization algorithms, our algorithm not only has the modest time complexity that is polynomial in the number of multimedia operations in a query plan, but also can reduce the execution cost of a query plan by orders of magnitude.

[1]  Guido Moerkotte,et al.  Optimizing disjunctive queries with expensive predicates , 1994, SIGMOD '94.

[2]  Balakrishna R. Iyer,et al.  A polynomial time algorithm for optimizing join queries , 1993, Proceedings of IEEE 9th International Conference on Data Engineering.

[3]  Michael Stonebraker,et al.  Predicate migration: optimizing queries with expensive predicates , 1992, SIGMOD Conference.

[4]  Wen-Chi Hou,et al.  Statistical estimators for relational algebra expressions , 1988, PODS '88.

[5]  Clyde L. Monma,et al.  Sequencing with Series-Parallel Precedence Constraints , 1979, Math. Oper. Res..

[6]  Wayne E. Smith Various optimizers for single‐stage production , 1956 .

[7]  Hiroyuki Kitagawa,et al.  Optimization of Queries Including ADT Functions , 1991, DASFAA.

[8]  Jeffrey F. Naughton,et al.  Sampling-Based Estimation of the Number of Distinct Values of an Attribute , 1995, VLDB.

[9]  Ravi Krishnamurthy,et al.  Towards on Open Architecture for LDL , 1989, VLDB.

[10]  Donald D. Chamberlin,et al.  Access Path Selection in a Relational Database Management System , 1989 .

[11]  Carlo Zaniolo,et al.  Optimization of Nonrecursive Queries , 1986, VLDB.

[12]  Zongda Wu,et al.  UMQA: An Internal Algebra for Querying Multimedia Contents , 2009 .

[13]  Joseph M. Hellerstein,et al.  Practical predicate placement , 1994, SIGMOD '94.

[14]  張 暁冬 Optimization for queries including ADT functions , 2007 .

[15]  Joseph M. Hellerstein,et al.  Optimization techniques for queries with expensive methods , 1998, TODS.

[16]  Wang,et al.  A Grammar Analysis Model for the Unified Multimedia Query Language , 2008 .

[17]  Surajit Chaudhuri,et al.  Optimization of queries with user-defined predicates , 1996, TODS.

[18]  WU Quan-yuan A New Optimization Algorithm for Queries with Expensive Selections , 2001 .

[19]  Sharad Mehrotra,et al.  Optimization of multi-version expensive predicates , 2007, SIGMOD '07.

[20]  Michael Stonebraker,et al.  Managing persistent objects in a multi-level store , 1991, SIGMOD '91.