On the existence of acyclic views in a database scheme

https://doi.org/10.1016/0304-3975(85)90012-XGet rights and content
Under an Elsevier user license
open archive

Abstract

The importance of acyclic database schemes in relational database theory has been pointed out in various contributions in the literature. Unfortunately, the realm of interest which is captured by the database scheme is often intrinsically cyclic; therefore, we are faced with the problem of finding acyclic views on such a scheme. In this paper we consider three kinds of acyclicity, called α-, γ- and Berge-acyclicity by Fagin (1983), and we approach the problem of the existence of acyclic views in a database scheme. We show that the problem of deciding whether there exists a Berge-, γ-, or α-acyclic view in a general database scheme is NP-complete and that the problem of deciding whether there exists a Berge- or γ-acyclic view on an α-acyclic scheme is also computationally intractable. On the other side, if the given database scheme is γ-acyclic, the problem of deciding the existence of a Berge-acyclic view may be solved by means of efficient algorithms which may also be used to find an acyclic view which involves the minimum number of relations.

Keywords

Relational database
universal relation
view
hypergraph
acyclicity
NP-completeness

Keywords

G.2.2
F.2.2
H.2.1
H.2.4

Cited by (0)