SQL Performance (MOSC)

MOSC Banner

Different explain plan with different oracle drivers

edited Apr 27, 2016 5:08AM in SQL Performance (MOSC) 13 commentsAnswered

Hello,

OS: HPUX

DB: 11.2.0.4

I have an issue executing a query using different oracle drivers (ojdbc6 and classes12) from Java.

It's supposed the ojdbc6 is recommended for Oracle 11.2.0.4

I have executed a trace for both drivers.

With classes12 driver it execute fast

{noformat} (lowercase, curly brackets, no spaces)

call count   cpuelapsed   disk  querycurrent    rows

------- ------  -------- ---------- ---------- ---------- ----------  ----------

Parse    0.00   0.00      0      0      0       0
Execute  0.00   0.00      0      0      0       0
Fetch  265  0.12   0.23     13   5211      0    2641

------- ------  -------- ---------- ---------- ---------- ----------  ----------

total  267  0.12   0.24     13   5211      0    2641

Misses in library cache during parse: 1

Misses in library cache during execute: 1

Optimizer mode: ALL_ROWS

Parsing user id: 367  (MMR66E)

Number of plan statistics captured: 1

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center