SQL execution plan different on different hardware [message #569744] |
Wed, 31 October 2012 23:07 |
hjoshi
Messages: 7 Registered: November 2009 Location: Sydney
|
Junior Member |
|
|
So the situation is like this
- Database A (20 tables)
- Database B (20 tables)
- Both A and B are Oracle 11gR2
- Both of these databases run on different hardware (A is a VM, B is on a physical host)
- The 20 tables in A and B have exactly same number of rows and after preparing the data, the schemas
were analysed using the same DBMS_STATS parameters
Despite this, the execution plans appear to be quite different for the same queries between A and B
I imagine there is something outside of the Oracle table rowcounts, table stats, column stats, index stats that's resulting in the different execution plans.
What "areas" have you guys focused on to diagnose this or if there is a recommended approach? I want to go about it in a scientific way but would appreciate a starting point.
Thanks
|
|
|
|
|
|