ACM Home Page
Please provide us with feedback. Feedback
The complexity of relational query languages (Extended Abstract)
Full text PdfPdf (513 KB)
Source Annual ACM Symposium on Theory of Computing archive
Proceedings of the fourteenth annual ACM symposium on Theory of computing table of contents
San Francisco, California, United States
Pages: 137 - 146  
Year of Publication: 1982
ISBN:0-89791-070-2
Author
Sponsor
SIGACT: ACM Special Interest Group on Algorithms and Computation Theory
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 20,   Downloads (12 Months): 149,   Citation Count: 224
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/800070.802186
What is a DOI?

ABSTRACT

Two complexity measures for query languages are proposed. Data complexity is the complexity of evaluating a query in the language as a function of the size of the database, and expression complexity is the complexity of evaluating a query in the language as a function of the size of the expression defining the query. We study the data and expression complexity of logical languages - relational calculus and its extensions by transitive closure, fixpoint and second order existential quantification - and algebraic languages - relational algebra and its extensions by bounded and unbounded looping. The pattern which will be shown is that the expression complexity of the investigated languages is one exponential higher then their data complexity, and for both types of complexity we show completeness in some complexity class.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

1
 
2
Bancilhon, F.: On the completeness of query languages for relational databases. Proc. 7th Symp. on MFCS, 1978.
 
3
Chandra, A.K., Harel, D.: Computable queries for relational databases. JCSS 21(1980), pp. 156-177.
 
4
Chandra, A.K., Harel, D.: Structure and complexity of relational queries. Proc. 21st IEEE Symp. on FOCS, 1980, pp. 333-347. Also, to appear in JCSS.
5
6
7
8
 
9
Codd, E.F.: Relational completeness of database sublanguage. In Data Base Systems (Rustin, Ed.), Prentice Hall, 1972, pp. 65-98.
 
10
Cooper, E.C.: On the expressive power of query languages for relational databases. Proc. ACM Symp. on PODS, Los Angeles, March 1982.
 
11
Fagin, R.: Generalized first-order spectra and polynomial-time recognizable sets. In Complexity of Computation (R. Karp, ed), SIAM-AMS Proc. 7(1974). pp. 43-73.
 
12
Hartmanis, J.: On non-determinacy in simple computing devices. Acta Info. 1(1972), pp. 28-36.
 
13
Hartmanis, J., Steams, R.E.: On the computational complexity of algorithms. Trans. AMS 117(1965), pp. 285-306.
 
14
Ibarra, O.H.: On two-way multihead automata. JCSS 7(1973), pp. 28-36.
 
15
Immerman, N.: Number of quantifier is better than number of tape cells. JCSS 22(1981), pp. 384-406.
 
16
Immerman, N.: Relational queries computable in polynomial time. This volume.
 
17
Jones, N.D.: Space bounded reducibility among combinatorial problems. JCSS 11(1975), pp. 68-85.
 
18
Jones, N.D.: Laaser, W.T.: Complete problems in deterministic polynomial time. TCS 3(1977), pp. 105-117.
 
19
Jones, N.D., Selman, A.L.: Turing machines and the spectra of first-order sentences. J. of Symbolic Logic 39(1974), pp. 139-150.
 
20
Karp, R.M.: Reducibility among combinatorial problems. In Complexity of Computer Computation (R.E. Miller and J.W. Thatcher, eds.), Plenum Press, 1972, pp. 85-103.
21
22
 
23
Paredaens, J.: On the expressive power of the relational algebra. IPL 7(1978).
 
24
Stockmeyer, L.J.: The polynomial time hierarchy. TCS 3(1977), p. 1-22.
 
25
Zloof, M.: Query-by Example: Operations on the transitive closure. IBM Research Report RC5526, 1976.

CITED BY  224