|
ABSTRACT
Object-oriented databases (OODBs) provide powerful data abstractions and modeling facilities, but they generally lack a suitable framework for query processing and optimization. The development of an effective query optimizer is one of the key factors for OODB systems to successfully compete with relational systems, as well as to meet the performance requirements of many nontraditional applications. We propose an effective framework with a solid theoretical basis for optimizing OODB query languages. Our calculus, called the monoid comprehension calculus, captures most features of ODMG OQL, and is a good basis for expressing various optimization algorithms concisely. This article concentrates on query unnesting (also known as query decorrelation), an optimization that, even though it improves performance considerably, is not treated properly (if at all) by most OODB systems. Our framework generalizes many unnesting techniques proposed recently in the literature, and is capable of removing any form of query nesting using a very simple and efficient algorithm. The simplicity of our method is due to the use of the monoid comprehension calculus as an intermediate form for OODB queries. The monoid comprehension calculus treats operations over multiple collection types, aggregates, and quantifiers in a similar way, resulting in a uniform method 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
|
|
| |
2
|
|
 |
3
|
|
| |
4
|
|
| |
5
|
|
| |
6
|
|
 |
7
|
|
| |
8
|
|
| |
9
|
|
 |
10
|
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, ACM SIGMOD Record, v.23 n.2, p.383-394, June 1994
|
| |
11
|
R. G. G. Cattell , Douglas K. Barry , Mark Berler , Jeff Eastman , David Jordan , Craig Russell , Olaf Schadow , Torsten Stanienda , Fernando Velez, The object data standard: ODMG 3.0, Morgan Kaufmann Publishers Inc., San Francisco, CA, 2000
|
| |
12
|
|
 |
13
|
|
| |
14
|
|
| |
15
|
|
 |
16
|
|
| |
17
|
CLUET,S.AND MOERKOTTE, G. 1995a. Efficient evaluation of aggregates on bulk types. Tech. Rep. 95-05. Aachen University of Technology, Aachen, Germany.
|
| |
18
|
CLUET,S.AND MOERKOTTE, G. 1995b. Nested queries in object bases. In Proceedings of the Fifth International Workshop on Database Programming Languages (Gubbio, Italy, Sept.).
|
 |
19
|
|
| |
20
|
|
| |
21
|
Scott Daniels , Goetz Graefe , Thomas Keller , David Maier , Duri Schmidt , Bennet Vance, Query optimization in revelation, an overview, Data Engineering, v.14 n.2, p.58-62, June 1991
|
| |
22
|
|
 |
23
|
|
| |
24
|
|
| |
25
|
|
 |
26
|
|
| |
27
|
|
| |
28
|
|
 |
29
|
|
| |
30
|
FEGARAS, L., MAIER, D., AND SHEARD, T. 1993. Specifying rule-based query optimizers in a reflective framework. In Proceedings of the Conference on Deductive and Object-Oriented Databases (Phoenix, AZ, Dec.). Springer-Verlag, Vienna, Austria, 146-168.
|
 |
31
|
Leonidas Fegaras , Chandrasekhar Srinivasan , Arvind Rajendran , David Maier, &lgr;-DB: an ODMG-based object-oriented DBMS, Proceedings of the 2000 ACM SIGMOD international conference on Management of data, p.583, May 15-18, 2000, Dallas, Texas, United States
|
 |
32
|
|
| |
33
|
|
 |
34
|
|
 |
35
|
|
| |
36
|
Theodore W. Leung , Gail Mitchell , Bharathi Subramanian , Bennet Vance , Scott L. Vandenberg , Stanley B. Zdonik, The AQUA Data Model and Algebra, Proceedings of the Fourth International Workshop on Database Programming Languages - Object Models and Languages, p.157-175, August 30-September 01, 1993
|
| |
37
|
|
 |
38
|
|
 |
39
|
|
 |
40
|
|
| |
41
|
Erik Meijer , Maarten Fokkinga , Ross Paterson, Functional programming with bananas, lenses, envelopes and barbed wire, Proceedings of the 5th ACM conference on Functional programming languages and computer architecture, p.124-144, June 1991, Cambridge, Massachusetts, United States
|
 |
42
|
|
| |
43
|
|
| |
44
|
|
| |
45
|
|
| |
46
|
|
| |
47
|
|
 |
48
|
P. Griffiths Selinger , M. M. Astrahan , D. D. Chamberlin , R. A. Lorie , T. G. Price, Access path selection in a relational database management system, Proceedings of the 1979 ACM SIGMOD international conference on Management of data, May 30-June 01, 1979, Boston, Massachusetts
[doi> 10.1145/582095.582099]
|
| |
49
|
|
| |
50
|
|
| |
51
|
|
| |
52
|
TRINDER,P.AND WADLER, P. 1989. Improving list comprehension database queries. In Proceedings of on TENCON'89 (Bombay, Nov.). 186-192.
|
 |
53
|
|
 |
54
|
|
| |
55
|
|
CITED BY 17
|
|
|
|
|
Leonidas Fegaras , David Levine , Sujoe Bose , Vamsi Chaluvadi, Query processing of streamed XML data, Proceedings of the eleventh international conference on Information and knowledge management, November 04-09, 2002, McLean, Virginia, USA
|
|
|
Nassima Djafri , Alvaro A. A. Fernandes , Norman W. Paton , Tony Griffiths, Spatio-temporal evolution: querying patterns of change in databases, Proceedings of the 10th ACM international symposium on Advances in geographic information systems, November 08-09, 2002, McLean, Virginia, USA
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Stefan Aulbach , Torsten Grust , Dean Jacobs , Alfons Kemper , Jan Rittinger, Multi-tenant databases for software as a service: schema-mapping techniques, Proceedings of the 2008 ACM SIGMOD international conference on Management of data, June 09-12, 2008, Vancouver, Canada
|
|
|
|
|
|
|
|
|
Tony Griffiths , Alvaro A. A. Fernandes , Norman W. Paton , Bo Huang , Mike Worboys , Chris Johnson , Keith T. Mason , John Stell, Tripod: a comprehensive system for the management of spatial and aspatial historical objects, Proceedings of the 9th ACM international symposium on Advances in geographic information systems, November 09-10, 2001, Atlanta, Georgia, USA
|
|
|
|
|
|
|
REVIEW
"Nguyen Ngoc Thanh : Reviewer"
The main contribution of this paper is the description of an effective framework for optimizing OODB queries, which, concretely, relies on using monoid comprehensions calculus to unnesting queries. A monoid is understood as a pair of an associativ
more...
|