Journal article
Generating plans from proofs
- Abstract:
- We present algorithms for answering queries making use of information about source integrity constraints, access restrictions, and access costs. Our method can exploit the integrity constraints to find plans even when there is no direct access to relations appearing in the query. We look at different kinds of plans, depending on the kind of relational operators that are permitted within their commands. To each type of plan we associate a semantic property that is necessary for having a plan of that type. The key idea of our method is to move from a search for a plan to a search for a proof of the corresponding semantic property, and then generate a plan from a proof. We provide algorithms for converting proofs to plans, and show that they will find a plan of the desired type whenever such a plan exists. We show that while discovery of one proof allows us to find a single plan that answers the query, we can explore alternative proofs to find lower-cost plans.
- Publication status:
- Published
- Peer review status:
- Peer reviewed
Actions
Access Document
- Files:
-
-
(Preview, Accepted manuscript, pdf, 476.4KB, Terms of use)
-
- Publisher copy:
- 10.1145/2847523
Authors
+ Engineering and Physical Sciences Research Council
More from this funder
- Grant:
- EP/H017690/1
- EP/M005852/1
- Publisher:
- Association for Computing Machinery
- Journal:
- ACM Transactions on Database Systems More from this journal
- Volume:
- 40
- Issue:
- 4
- Article number:
- 22
- Publication date:
- 2016-01-01
- DOI:
- ISSN:
-
1557-4644
- Keywords:
- Pubs id:
-
pubs:591892
- UUID:
-
uuid:ef9dcf13-fcde-43cc-91d2-30b03010c409
- Local pid:
-
pubs:591892
- Source identifiers:
-
591892
- Deposit date:
-
2016-01-20
- ARK identifier:
Terms of use
- Copyright holder:
- ACM
- Copyright date:
- 2016
- Notes:
- Copyright © 2016 ACM. This is the author's version of the work. It is posted here by permission of ACM for your personal use. Not for redistribution. The definitive version was published in ACM Transactions on Database Systems, 40, 4, February 2016. http://dx.doi.org/10.1145/2847523
If you are the owner of this record, you can report an update to it here: Report update to this record