Database Tuning (MOSC)

MOSC Banner

Why Oracle not choosing proper plan

edited Apr 9, 2009 3:02AM in Database Tuning (MOSC) 7 commentsAnswered
Hello All, Could some body help me on this?

There is very little difference between first and second queries joins. Last join , which is commented in the first case, is added and an extra join and that join is not actually required. After adding that extra condition now the query is ver very quick . I want to understand why we had to add that extra join at all. I can't understand this. Could some body help me.. this is little urgent for me .. thanks for your time.

Query One:

SELECT  COUNT(*)
                    FROM cris.tra t, dcsw_owner.pec_acc_local p

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