The Complexity of Relational Query Languages (Extended Abstract)

Abstract

Two complexity measures for query languages are proposed. <italic>Data complexity</italic> is the complexity of evaluating a query in the language as a function of the size of the database, and <italic>expression complexity</italic> 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.

DOI: 10.1145/800070.802186

Extracted Key Phrases

050100'83'86'90'94'98'02'06'10'14'18
Citations per Year

1,475 Citations

Semantic Scholar estimates that this publication has 1,475 citations based on the available data.

See our FAQ for additional information.

Cite this paper

@inproceedings{Vardi1982TheCO, title={The Complexity of Relational Query Languages (Extended Abstract)}, author={Moshe Y. Vardi}, booktitle={STOC}, year={1982} }