Re: What else can cause different optimizer plan?

  • From: Kerry Osborne <kerry.osborne@xxxxxxxxxxx>
  • To: cshapi@xxxxxxxxx
  • Date: Thu, 8 Dec 2011 14:21:02 -0600

It's a long list. Here are a few more to come readily to mind.

Different optimizer environment (i.e. any of a whole bunch of parameters is 
Different underlying objects (your MYDATA table is not the same as Joe's MYDATA 
Data changes (range of value significantly exceeds what stats says it is)
Bind Variable Peeking kicks in
Cardinality Feedback feature kicks in
Adaptive Cursor Sharing kicks in
Someone creates an Outline, Profile, or Baseline on the statement
Size of memory structures (can determine whether a statement gets run with PX 
plan or not)

The most common cause of plan instability is probably the combination of 
histograms and bind variables (i.e. bind variable peeking).

Kerry Osborne

On Dec 8, 2011, at 2:04 PM, Gwen Shapira wrote:

> different statistics on objects, different system statistics or
> different bind variables.
> Gwen
> On Thu, Dec 8, 2011 at 10:39 AM,  <paul.baumgartel@xxxxxxx> wrote:
>> --
>> //
> --
> //


Other related posts: