JOURNAL ARTICLE

Query unnesting in object-oriented databases

Leonidas Fegaras

Year: 1998 Journal:   ACM SIGMOD Record Vol: 27 (2)Pages: 49-60   Publisher: Association for Computing Machinery

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.

Keywords:
Computer science Query language Query optimization Sargable Query expansion Simple (philosophy) Nesting (process) RDF query language Online aggregation Database Theoretical computer science Web search query Query by Example Web query classification Information retrieval Programming language Search engine

Metrics

6
Cited By
0.54
FWCI (Field Weighted Citation Impact)
13
Refs
0.76
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Advanced Database Systems and Queries
Physical Sciences →  Computer Science →  Computer Networks and Communications
Data Management and Algorithms
Physical Sciences →  Computer Science →  Signal Processing
Logic, Reasoning, and Knowledge
Physical Sciences →  Computer Science →  Artificial Intelligence

Related Documents

JOURNAL ARTICLE

Query unnesting in object-oriented databases

Leonidas Fegaras

Year: 1998 Pages: 49-60
JOURNAL ARTICLE

Strategies for query unnesting in XML databases

Norman MaySven HelmerGuido Moerkotte

Journal:   ACM Transactions on Database Systems Year: 2006 Vol: 31 (3)Pages: 968-1013
© 2026 ScienceGate Book Chapters — All rights reserved.