TY - GEN
T1 - Approximate rewriting of queries using views
AU - Afrati, Foto
AU - Chandrachud, Manik
AU - Chirkova, Rada
AU - Mitra, Prasenjit
N1 - Copyright:
Copyright 2012 Elsevier B.V., All rights reserved.
PY - 2009
Y1 - 2009
N2 - We study approximate, that is contained and containing, rewritings of queries using views. We consider conjunctive queries with arithmetic comparisons (CQACs), which capture the full expressive power of SQL select-project-join queries. For contained rewritings, we present a sound and complete algorithm for constructing, for CQAC queries and views, a maximally-contained rewriting (MCR) whose all CQAC disjuncts have up to a predetermined number of view literals. For containing rewritings, we present a sound and efficient algorithm pruned-MiCR, which computes a CQAC containing rewriting that does not contain any other CQAC containing rewriting (i.e., computes a minimally containing rewriting, MiCR) and that has the minimum possible number of relational subgoals. As a result, the MiCR rewriting produced by our algorithm may be very efficient to execute. Both algorithms have good scalability and perform well in many practical cases, due to their extensive pruning of the search space, see [1].
AB - We study approximate, that is contained and containing, rewritings of queries using views. We consider conjunctive queries with arithmetic comparisons (CQACs), which capture the full expressive power of SQL select-project-join queries. For contained rewritings, we present a sound and complete algorithm for constructing, for CQAC queries and views, a maximally-contained rewriting (MCR) whose all CQAC disjuncts have up to a predetermined number of view literals. For containing rewritings, we present a sound and efficient algorithm pruned-MiCR, which computes a CQAC containing rewriting that does not contain any other CQAC containing rewriting (i.e., computes a minimally containing rewriting, MiCR) and that has the minimum possible number of relational subgoals. As a result, the MiCR rewriting produced by our algorithm may be very efficient to execute. Both algorithms have good scalability and perform well in many practical cases, due to their extensive pruning of the search space, see [1].
UR - http://www.scopus.com/inward/record.url?scp=70449866026&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=70449866026&partnerID=8YFLogxK
U2 - 10.1007/978-3-642-03973-7_13
DO - 10.1007/978-3-642-03973-7_13
M3 - Conference contribution
AN - SCOPUS:70449866026
SN - 3642039723
SN - 9783642039720
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 164
EP - 178
BT - Advances in Databases and Information Systems - 13th East European Conference, ADBIS 2009, Proceedings
T2 - 13th East European Conference on Advances in Databases and Information Systems, ADBIS 2009
Y2 - 7 September 2009 through 10 September 2009
ER -