sql plan management
What is the order of preference of optimizer for plan selection?
Is it as below?;;
i) sql base line with fixed=yes
ii)plan with cost < baseline accepted=yes enabled=yes
iii) baseline accepted=yes enabled=yes
iv) profile
v) lgenerated plans with e
What if two baselines are created as enabled and accepted, which one will be picked?