Structural Heuristics For Query Optimization
نویسندگان
چکیده
The join operation, which combines tuples from multiple relations, is the most fundamental and, typically, the most expensive operation in database queries. The standard approach to join-query optimization is cost based, which requires developing a cost model, assigning an estimated cost to each query-processing plan, and searching in the space of all plans for a plan of minimal cost. But as the number of joins increases, the size of the search space grows exponentially. Another approach to the problem, one that has been successful in constraint satisfaction, is that of structural optimization. The focus is on project-join orders that minimize the size of intermediate results. This thesis shows how structural techniques, including projection pushing and join reordering, can yield exponential improvements in query execution time. Finally, an implementation of the bucket elimination method is used to obtain another exponential improvement.
منابع مشابه
KOLMOGOROV-SMIRNOV TEST TO TACKLE FAIR COMPARISON OF HEURISTIC APPROACHES IN STRUCTURAL OPTIMIZATION
This paper provides a test method to make a fair comparison between different heuristics in structure optimization. When statistical methods are applied to the structural optimization (namely heuristics or meta-heuristics with several tunable parameters and starting seeds), the "one problem - one result" is extremely far from the fair comparison. From statistical point of view, the minimal requ...
متن کاملPerformance of Query Optimization Heuristics in Object-Oriented Databases
This paper investigates the performance of query optimization heuristics in object-oriented databases. Query optimization involves the following two stages : (1) Reduce the search space of access plans for a query to be considered during query evaluation using optimization heuristics (2) Estimate the cost of each access plan in (1) and select the cheapest access plan. To compute the cost of eac...
متن کاملA Heuristics-Based Approach to Query Optimization in Structured Document Databases
The number of documents published via WWW in form of SGML/HTML has been rapidly growing for years. Efficient, declarative access mechanisms for this type of documents – structured documents in general – are becoming of great importance. This paper reports our most recent advance in pursuit of effective processing and optimization of structured-document queries, which are important for large rep...
متن کاملSWITCHING TEAMS ALGORITHM FOR SIZING OPTIMIZATION OF TRUSS STRUCTURES
Meta-heuristics have received increasing attention in recent years. The present article introduces a novel method in such a class that distinguishes a number of artificial search agents called players within two teams. At each iteration, the active player concerns some other players in both teams to construct its special movements and to get more score. At the end of some iterations (like quart...
متن کاملFeedback-Directed Query Optimization
Current database systems employ static heuristics for estimating the access time of a particular query. These heuristics are based on several parameters, such as relation size and number of tuples. Yet these parameters are only updated intermittently, and the heuristics themselves are hand-tuned. As trends in database systems aim toward self-tuning systems, we can apply the experience of the fe...
متن کامل