Database Tuning (MOSC)

MOSC Banner

Why no partition pruning?

edited Mar 11, 2009 10:00PM in Database Tuning (MOSC) 6 commentsAnswered
Hi All,
Could some body help me in identifying the root of this issue. I have a table TRA_PART which is partitioned by TRA_SIT_ID column. When I compare this column with a hard coded list then partition pruning happens but when i compare with a column of another table pruning is not happening. Both tables's stats are up-to-date.

EXPLAIN PLAN FOR
SELECT  
        tra_sec_id AS SEC_ID,
        SYSDATE AS TIMESTAMP
FROM
        CRIS.tra_PART,
        dcsw_owner.MV_UBR_CAM_TAB MV_UBR_CAM
WHERE 1=1
AND     tra_sit_id IN ('TE','TD','TO')
AND     tra_sit_id    = MV_UBR_CAM.SIT_ID

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