Database Utilities (MOSC)

MOSC Banner

Difference in Run time plan and static plan

edited Sep 14, 2017 5:00AM in Database Utilities (MOSC) 10 commentsAnswered
Hi,

My oracle version is 11.2.0.2.0.I frequently see a difference in explain plans.When i take queries from AWR and do 'select * from TABLE(dbms_xplan.display)';' it gives me one plan and 'SELECT * FROM TABLE(dbms_xplan.display_awr('<sql_id>'));' for same query shows different plan.

Is it a bug??why is this happening?

Thanks.

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