Tree queries
- 1 December 1982
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Database Systems
- Vol. 7 (4) , 653-677
- https://doi.org/10.1145/319758.319775
Abstract
One can partition the class of relational database schemas into tree schemas and cyclic schemas. (These are called acyclic hypergraphs and cyclic hypergraphs elsewhere in the literature.) This partition has interesting implications in query processing, dependency theory, and graph theory. The tree/cyclic partitioning of database schemas originated with a similar partition of equijoin queries. Given an arbitrary equijoin query one can obtain an equivalent query that calculates the natural join of all relations in (an efficiently) derived database; such a query is called a natural join (NJ) query. If the derived database is a tree schema the original query is said to be a tree query, and otherwise a cyclic query. In this paper we analyze query processing consequences of the tree/cyclic partitioning. We are able to argue, qualitatively, that queries which imply a tree schema are easier to process than those implying a cyclic schema. Our results also extend the study of the semijoin operator.Keywords
This publication has 19 references indexed in Scilit:
- Query processing in a system for distributed databases (SDD-1)ACM Transactions on Database Systems, 1981
- Power of Natural SemijoinsSIAM Journal on Computing, 1981
- Using Semi-Joins to Solve Relational QueriesJournal of the ACM, 1981
- On the menbership problem for functional and multivalued dependencies in relational databasesACM Transactions on Database Systems, 1980
- Query Processing in Distributed Database SystemIEEE Transactions on Software Engineering, 1979
- Implementing a relational database by means of specialzed hardwareACM Transactions on Database Systems, 1979
- Normalization and hierarchical dependencies in the relational data modelACM Transactions on Database Systems, 1978
- CASDALACM Transactions on Database Systems, 1978
- Multivalued dependencies and a new normal form for relational databasesACM Transactions on Database Systems, 1977
- Performance evaluation of a relational associative processorACM Transactions on Database Systems, 1977