| Efficiently ordering subgoals with access constraints |
| Full text |
Pdf
(259 KB)
|
| Source
|
Symposium on Principles of Database Systems
archive
Proceedings of the twenty-fifth ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems
table of contents
Chicago, IL, USA
SESSION: Query optimization
table of contents
Pages: 183 - 192
Year of Publication: 2006
ISBN:1-59593-318-2
|
|
Authors
|
|
| Sponsors |
|
| Publisher |
|
| Bibliometrics |
Downloads (6 Weeks): 3, Downloads (12 Months): 30, Citation Count: 1
|
|
|
ABSTRACT
In this paper, we study the problem of ordering subgoals under binding pattern restrictions for queries posed as nonrecursive Datalog programs. We prove that despite their limited expressive power, the problem is computationally hard—PSPACE-complete in the size of the nonrecursive Datalog program even for fairly restricted cases. As a practical solution to this problem, we develop an asymptotically optimal algorithm that runs in time linear in the size of the query plan. We also study extensions of our algorithm that efficiently solve other query planning problems under binding pattern restrictions. These problems include conjunctive queries with nested grouping constraints, distributed conjunctive queries, and first-order queries.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
1
|
J. L. Ambite, V. K. Chaudhri, R. Fikes, J. Jenkins, S. Mishra, M. Muslea, T. Uribe, and G. Yang. Integration of heterogeneous knowledge sources in the CALO query manager. In ODBASE, 2005.
|
| |
2
|
|
| |
3
|
A. Deutsch, B. Ludäscher, and A. Nash. Rewriting queries using views with access patterns under integrity constraints. In ICDT, 2005.
|
| |
4
|
O. M. Duschka, M. R. Genesereth, and A. Y. Levy. Recursive query plans for data integration. Journal of Logic Programming (JLP), 43(1):49--73, 2000.
|
 |
5
|
|
| |
6
|
|
| |
7
|
|
 |
8
|
Chen Li , Ramana Yerneni , Vasilis Vassalos , Hector Garcia-Molina , Yannis Papakonstantinou , Jeffrey Ullman , Murty Valiveti, Capability based mediation in TSIMMIS, Proceedings of the 1998 ACM SIGMOD international conference on Management of data, p.564-566, June 01-04, 1998, Seattle, Washington, United States
|
 |
9
|
|
 |
10
|
|
| |
11
|
A. Nash and B. Ludäscher. Processing unions of conjunctive queries with negation under limited access patterns. In EDBT, 2004.
|
| |
12
|
|
 |
13
|
Anand Rajaraman , Yehoshua Sagiv , Jeffrey D. Ullman, Answering queries using templates with binding patterns (extended abstract), Proceedings of the fourteenth ACM SIGACT-SIGMOD-SIGART symposium on Principles of database systems, p.105-112, May 22-25, 1995, San Jose, California, United States
[doi> 10.1145/212433.220199]
|
 |
14
|
|
| |
15
|
|
 |
16
|
|
| |
17
|
V. Vassalos and Y. Papakonstantinou. Expressive capabilities description languages and query rewriting algorithms. Journal of Logic Programming (JLP), 43(1):75--122, 2000.
|
 |
18
|
Ramana Yerneni , Chen Li , Hector Garcia-Molina , Jeffrey Ullman, Computing capabilities of mediators, Proceedings of the 1999 ACM SIGMOD international conference on Management of data, p.443-454, May 31-June 03, 1999, Philadelphia, Pennsylvania, United States
|
|