JOURNAL ARTICLE

A recursive algebra and query optimization for nested relations

Latha S. Colby

Year: 1989 Journal:   ACM SIGMOD Record Vol: 18 (2)Pages: 273-283   Publisher: Association for Computing Machinery

Abstract

The nested relational model provides a better way to represent complex objects than the (flat) relational model, by allowing relations to have relation-valued attributes. A recursive algebra for nested relations that allows tuples at all levels of nesting in a nested relation to be accessed and modified without any special navigational operators and without having to flatten the nested relation has been developed. In this algebra, the operators of the nested relational algebra are extended with recursive definitions so that they can be applied not only to relations but also to subrelations of a relation. In this paper, we show that queries are more efficient and succinct when expressed in the recursive algebra than in languages that require restructuring in order to access subrelations of relations. We also show that most of the query optimization techniques that have been developed for the relational algebra can be easily extended for the recursive algebra and that queries are more easily optimizable when expressed in the recursive algebra than when they are expressed in languages like the non-recursive algebra.

Keywords:
Relational algebra Tuple Relation algebra Codd's theorem Relation (database) Algebra over a field Computer science Nesting (process) Relational calculus Relational database Relational model Theoretical computer science Mathematics Algebra representation Discrete mathematics Cellular algebra Database Pure mathematics

Metrics

99
Cited By
8.44
FWCI (Field Weighted Citation Impact)
32
Refs
0.97
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
Semantic Web and Ontologies
Physical Sciences →  Computer Science →  Artificial Intelligence

Related Documents

JOURNAL ARTICLE

A recursive algebra for nested relations

Latha S. Colby

Journal:   Information Systems Year: 1990 Vol: 15 (5)Pages: 567-582
JOURNAL ARTICLE

SQL query optimization through nested relational algebra

Bin CaoAntonio Badia

Journal:   ACM Transactions on Database Systems Year: 2007 Vol: 32 (3)Pages: 18-18
BOOK-CHAPTER

Nested relations and recursive queries

Volker Linnemann

Lecture notes in computer science Year: 1989 Pages: 205-216
© 2026 ScienceGate Book Chapters — All rights reserved.