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.