This paper introduces a new type of database queries involving preferences. The idea is to consider competitive conditional preference clauses structured as a tree, of the type "preferably P 1 or β’ β’ β’ or P n ; if P 1 then preferably P 1,1 or . . .; if P 2 then preferably P 2,1 or . . . ," where the
On the Complexity of Database Queries
β Scribed by Christos H. Papadimitriou; Mihalis Yannakakis
- Publisher
- Elsevier Science
- Year
- 1999
- Tongue
- English
- Weight
- 223 KB
- Volume
- 58
- Category
- Article
- ISSN
- 0022-0000
No coin nor oath required. For personal study only.
β¦ Synopsis
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.
π SIMILAR VOLUMES
We give lower bounds on the complexity of certain Datalog queries. Our notion of complexity applies to compile-time optimization techniques for Datalog; thus, our results indicate limitations of these techniques. The main new tool is linear first-order formulas, whose depth (respectively, number of
What is the smallest constant c so that the planar point location queries can be Ε½ . Ε½ . answered in c log n q o log n steps i.e., pointαline comparisons in the worst 2 Ε½ case? M. T. Goodrich, M. Orletsky, and K. Ramaiyer 1997, in ''Proc 8th ACM-Ε½ . . SIAM Symp on Discrete Algorithms SODA ,'' pp. 75