On the Complexity of Database Queries
作者:
Highlights:
•
摘要
We revisit the issue of the complexity of database queries, in the light of the recent parametric refinement of complexity theory. We show that, if the query size (or the number of variables in the query) is considered as a parameter, then the relational calculus and its fragments (conjunctive queries, positive queries) are classified at appropriate levels of the so-called W hierarchy of Downey and Fellows. These results strongly suggest that the query size is inherently in the exponent of the data complexity of any query evaluation algorithm, with the implication becoming stronger as the expressibility of the query language increases. On the positive side, we show that this exponential dependence can be avoided for the extension of acyclic queries with ≠ (but not <) inequalities.
论文关键词:
论文评审过程:Received 2 January 1998, Revised 25 September 1998, Available online 25 May 2002.
论文官网地址:https://doi.org/10.1006/jcss.1999.1626