RE: Explain Plan not the same through ODBC

  • From: "Allen, Brandon" <Brandon.Allen@xxxxxxxxxxx>
  • To: <lucdemanche@xxxxxxxxx>, "oracle-l" <oracle-l@xxxxxxxxxxxxx>
  • Date: Tue, 20 Feb 2007 14:00:47 -0700

Here are some possible causes to look at off the top of my head:
different users with different environment settings (e.g. one has a
trigger to change optimizer_mode or any number of other parameters, or
such changes are made by the application or user), different bind
variable values, different schemas, different system stats, different
object stats, different methods of retrieving the plan (e.g. autotrace,
explain plan for, 10046 trace, v$sql_plan).
 
Regards,
Brandon

________________________________

From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Luc Demanche

 
Why do we have 2 different explain plan for the same SQL ?
 
 

Privileged/Confidential Information may be contained in this message or 
attachments hereto. Please advise immediately if you or your employer do not 
consent to Internet email for messages of this kind. Opinions, conclusions and 
other information in this message that do not relate to the official business 
of this company shall be understood as neither given nor endorsed by it.

Other related posts: