SQL Performance (MOSC)

MOSC Banner

Insert taking long time

edited Apr 10, 2014 2:15AM in SQL Performance (MOSC) 13 commentsAnswered

Hi Gurus,

We have an insert statement called by a script that runs daily once from LIVE production to second database over dblink. Both databases were on 10.2.0.3.0 till recently. Last month we upgraded production to 11.2.0.4. Since then this insert statement takes hours to even insert 1 row.

INSERT INTO STAGING.FIX_VACANCY_EXCEPTIONS SELECT * FROM VACANCY@REMOTE WHERE VAC_REF IN(SELECT VAC_REF FROM STAGING.VACANCY_CC MINUS SELECT VAC_REF FROM PROD.VACANCY).

Could someone throw some light why this behaviour.

Reg

Raj

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