SQL BASELINES WERE INTRODUCED in ORACLE 11G AND ARE INTENDED TO SUPPLEMENT SQL PROFILES AND EVENTUALLY REPLACE STORED OUTLINES.
This flexibility is all very well, but we we actually want is flexibility and stability. We don't mind if optimizer pick a new plan if circumstances change, providing that plan is always for the better. BASELINES provide a mechanism that enables plans to change, but only after they are proven to be better than any existing plans. BASELINE attempt to provide a best-of-both-worlds solution offering both optimizer flexibility and stability. We can use DBMS_SPM package to create BASELINE. |