SQL Performance (MOSC)

MOSC Banner

hi,need help in rewriting this sql

edited Jul 31, 2014 5:00AM in SQL Performance (MOSC) 3 commentsAnswered

Hi,

below query takes about 2 hrs to execute and sometimes more than that,need help in rewriting the sql,,the plan uses Merge Join cartesian with buffer sort ,both combine to have large executions and the actual number of rows executed is too hig compared to the estimated rows, Advisor has recommend more than ten indexes to fix the issuse,but i wish ro rewrite the sql,.

I tried to avoid MCJ using hidden parameters at session level,though it avoids them still the actual rows executed in PSAADRESSES index with index fast full scan was too high..attaching the sql monitor report

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