Customer Submitted Case Studies
Plan Stability using oracle stored outlines
Author: Rahul Gupta , ASE Email : email@example.com
Skill Level Rating for this Case Study: Intermediate
About Oracle Customer Submitted Case Studies
Oracle Customer Submitted Case Studies are intended as learning tools and for sharinginformation or knowledge related to a complex event, process, procedure, or to a series of related events. Each case study is written based upon the experience that the writer/sencountered.
Customers should not interpret or use information in these case studies as solutionsor recommendations without first contacting Oracle Support.
Each Case Study contains a skill level rating. The rating provides an indication of whatskill level the reader should have as it relates to the information in the case study.Ratings are:
Expert: significant experience with the subject matter
Intermediate: some experience with the subject matter
Beginner: little experience with the subject matter
Case Study Abstract
This case study is discussed that how we can stabilize a query plan using outlines. Itmight happen that, for a SQL statement due to some reason optimizer is opting for awrong plan instead of the optimize plan. Hints can be used to guide optimizer optimizer,but in some cases it is not possible to edit application SQL to add index hint. In this casestored outline can be used to select a desired plan. But text of the SQL should be samewhile using stored outline which will not be case after adding index hint.