Oracle sql profile
Jump to navigation
Jump to search
SQL Baseline Plan
Per forzare un piano di esecuzione trovato nella sql cursor cache, di cui si conosce l'hash value:
-- declare my_plans pls_integer; begin my_plans:=DBMS_SPM.LOAD_PLANS_FROM_CURSOR_CACHE(SQL_ID=>'&1',PLAN_HASH_VALUE=>'&2',FIXED=>'YES',ENABLED=>'YES'); end; /