|
ABSTRACT
There is already a sizable body of proposals on OODB query optimization. One of the most challenging problems in this area is query unnesting, where the embedded query can take any form, including aggregation and universal quantification. Although there is already a number of proposed techniques for query unnesting, most of these techniques are applicable to only few cases. We believe that the lack of a general and simple solution to the query unnesting problem is due to the lack of a uniform algebra that treats all operations (including aggregation and quantification) in the same way.
This paper presents a new query unnesting algorithm that generalizes many unnesting techniques proposed recently in the literature. Our system is capable of removing any form of query nesting using a very simple and efficient algorithm. The simplicity of the system is due to the use of the monoid comprehension calculus as an intermediate form for OODB queries. The monoid comphrehension calculus treats operations over multiple collection types, aggregates, and quantifiers in a similar way, resulting in a uniform way of unnesting queries, regardless of their type of nesting.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
 |
1
|
José A. Blakeley , William J. McKenna , Goetz Graefe, Experiences building the open OODB query optimizer, Proceedings of the 1993 ACM SIGMOD international conference on Management of data, p.287-296, May 25-28, 1993, Washington, D.C., United States
|
 |
2
|
|
 |
3
|
Michael J. Carey , David J. DeWitt , Michael J. Franklin , Nancy E. Hall , Mark L. McAuliffe , Jeffrey F. Naughton , Daniel T. Schuh , Marvin H. Solomon , C. K. Tan , Odysseas G. Tsatalos , Seth J. White , Michael J. Zwilling, Shoring up persistent applications, Proceedings of the 1994 ACM SIGMOD international conference on Management of data, p.383-394, May 24-27, 1994, Minneapolis, Minnesota, United States
|
| |
4
|
|
 |
5
|
|
| |
6
|
M. Cherniack, S. Zdonik, J. Lee, and K. Kim. Composing Rules the COKO-KOLA Way. Brown University, March 1997.
|
| |
7
|
|
| |
8
|
S. Cluet and G. Moerkotte. Efficient Evaluation of Aggregates on Bulk Types. Technical report, Aachen University of Technology, October 1995. Technical Report 95-05.
|
| |
9
|
S. Cluet and G. Moerkotte. Nested Queries in Object Bases. In Fifth International Workshop on Database Programming Languages, Gubbio, Italy, September 1995.
|
| |
10
|
L. Fegaras. An Experimental Optimizer for OQL. University of Texas at Arlington Technical Report TR- CSE-97-007. Available at http://www-cse.uta.edu/ ~fegaras/oqlopt.ps.gz, May 1997.
|
| |
11
|
L. Fegaras. Query Unnesting in Object-Oriented Databases (extended version). Available at http ://www-cse. uta. edu/~f egaras/s igmod98, ps, January }998.
|
| |
12
|
|
 |
13
|
|
| |
14
|
L. Fegaras, D. Maier, and T. Sheard. Specifying Rulebased Query Optimizers in a Reflective Framework. Deductive and Object-Oriented Databases, Phoenix, Arizona, pp 146-168, December 1993. Springer-Verlag, LNCS 461.
|
 |
15
|
|
 |
16
|
|
 |
17
|
|
| |
18
|
|
| |
19
|
|
| |
20
|
|
| |
21
|
|
| |
22
|
P. Trinder and P. Wadler. Improving List Comprehension Database Queries. In in Proceedings of TEN- CON'89, Bombay, India, pp 186-192, November 1989.
|
 |
23
|
|
 |
24
|
|
| |
25
|
|
CITED BY 12
|
|
|
|
|
|
|
|
|
|
|
|
|
|
M. Akhtar Ali , Alvaro A. A. Fernandes , Norman W. Paton, Incremental maintenance of materialized OQL views, Proceedings of the 3rd ACM international workshop on Data warehousing and OLAP, p.41-48, November 06-11, 2000, McLean, Virginia, United States
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|