Paper record

W1979514837

Optimal implementation of conjunctive queries in relational data bases

Ashok K. Chandra, Philip M. Merlin

Year
1977
Venue
ACM Symposium on Theory of Computing (STOC)
References
19
Cited by
1,517

Details and counts from OpenAlex.

Abstract

We define the class of conjunctive queries in relational data bases, and the generalized join operator on relations. The generalized join plays an important part in answering conjunctive queries, and it can be implemented using matrix multiplication. It is shown that while answering conjunctive queries is NP complete (general queries are PSPACE complete), one can find an implementation that is within a constant of optimal. The main lemma used to show this is that each conjunctive query has a unique minimal equivalent query (much like minimal finite automata).