Cost in the Explain Plan [message #216168] |
Thu, 25 January 2007 07:23 |
a_developer
Messages: 194 Registered: January 2006
|
Senior Member |
|
|
The general conception is that when the Cost is lower then execution is faster. I have 2 explain plans for the same SQL statement. One has more Cost than the other but runs faster. When does this happen?? Why??..
|
|
|
Re: Cost in the Explain Plan [message #216190 is a reply to message #216168] |
Thu, 25 January 2007 08:38 |
smartin
Messages: 1803 Registered: March 2005 Location: Jacksonville, Florida
|
Senior Member |
|
|
Make sure you are looking at the "real" explain plan, the one that was actually run, not the one the optimizer thought it would run under a current environment. You can capture the "real" plan with a 10046 trace.
|
|
|
|