Article

Plan-based view and index selection for query-performance improvement

ABSTRACT Selecting and precomputing indexes and materialized views, with the goal of improving query-processing performance in the system, is an important part of database-performance tuning. The significant complexity of the view-and index-selection problem may result in high total cost of ownership for database systems. In recognition of this challenge, soft-ware tools have been deployed in commercial DBMS, includ-ing Microsoft SQL Server [1, 2, 5, 6] and DB2 [4, 32, 34], for suggesting to the database administrator views and indexes that would benefit the evaluation efficiency of representative workloads of frequent and important queries. In this paper, we focus on developing a unified quality-centered approach to view and index selection, for a range of query, view, and index classes that are typical in practi-cal database systems. Our problem inputs include efficient evaluation plans for the input workload queries. This ver-sion of the view-and index-selection problem is NP hard [7] and difficult to solve even with a small number of indexes and views appearning in the input query plans. In spite of this, we develop efficient methods that deliver user-specified quality (with respect to the best theoretically possible qual-ity given the input query plans) of the set of selected views and indexes. Our approach can be extended in a straightfor-ward manner to dealing with index selection in presence of clustered indexes, as well as to handling updates in the in-put workload. Our experimental results and comparisons on synthetic and benchmark instances demonstrate the compet-itiveness of our approach, and show that it provides a win-ning combination with end-to-end view-and index-selection frameworks such as those of [2, 5].

0 0
 · 
0 Bookmarks
 · 
16 Views

Full-text (2 Sources)

View
0 Downloads
Available from
9 May 2013

Keywords

benchmark instances
 
database administrator views
 
database systems
 
deliver user-specified quality
 
efficient evaluation plans
 
end-to-end view-and index-selection frameworks
 
evaluation efficiency
 
in-put workload
 
includ-ing Microsoft SQL Server
 
index classes
 
index selection
 
indexes
 
input query plans
 
input workload queries
 
practi-cal database systems
 
precomputing indexes
 
theoretically possible qual-ity
 
unified quality-centered approach
 
view-and index-selection problem
 
win-ning combination