SQL Performance (MOSC)

MOSC Banner

fix sqlid with a particular plan_hash_value

We have identified a particular sql_id with several plan_hash_values, we identified the most optimal plan value and tried to fix that plan for the sql_id with sql profile but the sql profile was ignored and the optimizer keep choosing the unoptimal plan value.


Sometimes after take statistics the optimal plan is used, but after a while the unoptimal plan is taken again.


We tried to fix the plan with the coe_xfr_sql_profile.sql script.


The database version is 19.11.0.0 and is non-cdb

Tanks.

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