Database Tuning (MOSC)

MOSC Banner

Query running 8 times slower on another server

edited Dec 7, 2009 2:11AM in Database Tuning (MOSC) 6 commentsAnswered
  Hi,

we have a query which is running fine on system 1 (completes in around 5 seconds) but taking about 45 seconds to complete on another system


Here is the explain plan from the system where it is taking longer (appx 50 secs)


PLAN_TABLE_OUTPUT
------------------------------------------------------------------------------------------------------
SQL_ID 4pr8aqz5wt4c7
--------------------
SELECT t0.DATE_UPDATED, t0.EXCHANGE_RATE, t0.MODIFIED_BY,
t0.CURRENCY_NOTE_FROM_CUSTOMS, t0.COUNTRY, t0.CURRENCY_TYPE, t0.DOWNLOADED,
t0.TIME_UPDATED, t0.DATE_EXCHANGE_RATE, t0.CURRENCY FROM CURRENCY_RATES t0 WHERE
((t0.CURRENCY = :1) AND t0.DATE_EXCHANGE_RATE IN (SELECT MAX(t1.DATE_EXCHANGE_RATE)

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