Oracle DB. Changing and fixing query execution plan using dbms_spm.
Oracle Query Optimizer generally works well, but sometimes it makes your fast and polished queries slow down. Often, you can not simply add hints and recompile them on production environment. In such case be ready to use dbms_spm package. Don’t forget about appropriate grants.grant select on V_$SESSION to test;grant select on V_$SQL_PLAN to test;grant select …
Oracle DB. Changing and fixing query execution plan using dbms_spm. Read More »