JOURNAL ARTICLE

A recursive algebra and query optimization for nested relations

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 Codd's theorem Relation algebra Tuple Relation (database) Relational calculus Algebra over a field Nesting (process) Relational database Computer science Relational model Mathematics Algebra representation Discrete mathematics Cellular algebra Pure mathematics Database

Metrics

56
Cited By
5.63
FWCI (Field Weighted Citation Impact)
21
Refs
0.95
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

Related Documents

JOURNAL ARTICLE

A recursive algebra and query optimization for nested relations

Latha S. Colby

Journal:   ACM SIGMOD Record Year: 1989 Vol: 18 (2)Pages: 273-283
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.