On the equivalence and rewriting of aggregate queries (Q1889881): Difference between revisions
From MaRDI portal
Removed claim: reviewed by (P1447): Item:Q514085 |
Set OpenAlex properties. |
||
(2 intermediate revisions by 2 users not shown) | |||
Property / reviewed by | |||
Property / reviewed by: Marie Duží / rank | |||
Normal rank | |||
Property / MaRDI profile type | |||
Property / MaRDI profile type: MaRDI publication profile / rank | |||
Normal rank | |||
Property / full work available at URL | |||
Property / full work available at URL: https://doi.org/10.1007/s00236-004-0101-y / rank | |||
Normal rank | |||
Property / OpenAlex ID | |||
Property / OpenAlex ID: W2049233281 / rank | |||
Normal rank |
Latest revision as of 19:14, 19 March 2024
scientific article
Language | Label | Description | Also known as |
---|---|---|---|
English | On the equivalence and rewriting of aggregate queries |
scientific article |
Statements
On the equivalence and rewriting of aggregate queries (English)
0 references
13 December 2004
0 references
The paper deals with the problem of aggregate queries involving complex statistical functions. A first-order language with real polynomial arithmetic and aggregate operators (count, iterated sum and multiply) is introduced. The authors show that there is an effective quantitative elimination for formulae with aggregation. The main contribution is the definition of new efficient syntactic criteria to determine whether two aggregate queries are equivalent or not. A new equivalence relation among conjunctive queries is defined, called isomorphism modulo product. This concept is then generalized, and the equivalence with comparison is defined, the cross isomorphic linear expansions are examined, and it is shown that equivalence of some ratio queries reduces to it. Finally, it is shown how these results can be used to solve the view usability problem. The authors consider the problem of the existence of a complete rewriting of a query using only views, and prove that the problem of complete rewriting for bag queries and views is NP-complete. A non-deterministic algorithm is designed, which produces the possible rewriting, and it is shown to be sound and complete with respect to the proposed rewritings. Finally, the authors show another application of the isomorphism modulo product and introduce the rewriting modulo product.
0 references
database queries
0 references
aggregate queries
0 references
conjunctive queries
0 references
equivalence of queries
0 references
isomorphism modulo product
0 references
linear expansion
0 references
aggregate view usability
0 references