ACM Home Page
Please provide us with feedback. Feedback
Query optimization using restructured views
Full text PdfPdf (265 KB)
Source Conference on Information and Knowledge Management archive
Proceedings of the 15th ACM international conference on Information and knowledge management table of contents
Arlington, Virginia, USA
SESSION: Query processing and optimization table of contents
Pages: 642 - 651  
Year of Publication: 2006
ISBN:1-59593-433-2
Authors
Rada Chirkova  North Carolina State University
Fereidoon Sadri  University of North Carolina at Greensboro
Sponsors
ACM: Association for Computing Machinery
SIGIR: ACM Special Interest Group on Information Retrieval
SIGWEB: ACM Special Interest Group on Hypertext, Hypermedia, and Web
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 17,   Downloads (12 Months): 104,   Citation Count: 0
Additional Information:

abstract   references   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1183614.1183706
What is a DOI?

ABSTRACT

We study optimization of relational queries using materialized views, where views may be regular or restructured. In a restructured view, some data from the base table(s) are represented as metadata - that is, schema information, such as table and attribute names - or vice versa.Using restructured views in query optimization opens up a new spectrum of views that were not previously available, and can result in significant additional savings in query-evaluation costs. These savings can be obtained due to a significantly larger set of views to choose from, and may involve reduced table sizes, elimination of self-joins, clustering produced by restructuring, and horizontal partitioning.In this paper we propose a general query-optimization framework that treats regular and restructured views in a uniform manner and is applicable to SQL select-project-join queries and views with or without aggregation. Within the framework we provide (1) algorithms to determine when a view (regular or restructured) is usable in answering a query, and (2) algorithms to rewrite a query using usable views.Semantic information, such as knowledge of the key of a view, can be used to further optimize a rewritten query. Within our general query-optimization framework, we develop techniques for determining the key of a (regular or restructured) view, and show how this information can be used to further optimize a rewritten query. It is straightforward to integrate all our algorithms and techniques into standard query-optimization algorithms.


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
F. Afrati and R. Chirkova. Selecting and using views to compute aggregate queries. In Proc. ICDT, 2005.
 
2
 
3
4
5
6
 
7
8
 
9
Conor Cunningham, Goetz Graefe, and César A. Galindo-Legaria. PIVOT and UNPIVOT: Optimization and execution strategies in an RDBMS. In vldb, pages 998--1009, 2004.
 
10
11
12
 
13
14
 
15
 
16
 
17
18
 
19
Laks V. S. Lakshmanan, Fereidoon Sadri, and Iyer N. Subramanian. On the logical foundations of schema integration and evolution in heterogeneous database systems. In dood, pages 81--100, 1993.
 
20
 
21
Laks V. S. Lakshmanan, Fereidoon Sadri, and Iyer N. Subramanian. Logic and algebraic languages for interoperability in multidatabase systems. jlp, 33(2):101--149, November 1997.
 
22
23
24
 
25
Stephen P. Slocum. Optimizing SQL and SchemaSQL queries by restructuring. Master's thesis, Department of Mathematical Sciences, University of North Carolina at Greensboro, April 2001.
 
26
 
27
Subbu N. Subramanian and Shivakumar Venkataraman. Query optimization using restructuring views, 1998. IBM Internal Report.
 
28
Transaction processing performance council: TPC benchmarks. http://www.tpc.org.
29

Collaborative Colleagues:
Rada Chirkova: colleagues
Fereidoon Sadri: colleagues