On solving efficiently the view selection problem under bag and bag-set semantics
Autor: | Foto N. Afrati, Matthew Damigos, Manolis Gergatsoulis |
---|---|
Rok vydání: | 2014 |
Předmět: |
Theoretical computer science
Selection (relational algebra) Computer science Binary relation Semantics (computer science) InformationSystems_INFORMATIONSTORAGEANDRETRIEVAL Semantics Set (abstract data type) Denotational semantics Hardware and Architecture Well-founded semantics Conjunctive query Limit (mathematics) Query Rewriting Software Information Systems |
Zdroj: | Information Systems. 42:153-176 |
ISSN: | 0306-4379 |
Popis: | In this paper, we investigate the problem of view selection for workloads of conjunctive queries under bag and bag-set semantics. In particular, for both semantics we aim to limit the search space of candidate viewsets. We also start delineating boundaries between query workloads for which certain even more restricted search spaces suffice. They suffice in the sense that they do not compromise optimality in that they contain at least one of the optimal solutions. We start with the general case for both bag and bag-set semantics, where we give a tight condition that candidate views can satisfy and still the search space (thus limited) does contain at least one optimal solution. We show that these results, for both semantics, reduce the size of the search space significantly. Further on, due to this analysis for both semantics, a delineation of the space of viewsets and the space of the corresponding equivalent rewritings for a certain conjunctive query workload is given. We show that for chain query workloads under both bag and bag-set semantics, taking only chain views may miss optimal solutions, whereas, if we further limit the queries to be path-queries (i.e., chain queries over a single binary relation), then, under bag semantics, path-views suffice. Concentrating to bag-set semantics, we show that the path-viewsets do not suffice for every path-query workload. |
Databáze: | OpenAIRE |
Externí odkaz: |