Créer un sql profile à partir d’un plan d’exéuction

Scripts to deal with SQL Plan Baselines, SQL Profiles and SQL Patches script à lancer sous SQLT :  coe_xfr_sql_profile.sql http://kerryosborne.oracle-guy.com/2010/07/24/sqlt-coe_xfr_sql_profilesql/ https://carlos-sierra.net/2018/12/15/scripts-to-deal-with-sql-plan-baselines-sql-profiles-and-sql-patches/ https://www.bobbydurrettdba.com/2013/07/10/using-coe_xfr_sql_profile-sql-to-force-a-good-plan/

récupérer un historique de session

spool hist_sess.htmlset markup html onalter session set nls_timestamp_format=’YYYY-MM-DD HH24:MI’;select * from DBA_HIST_ACTIVE_SESS_HISTORY where sample_time between ‘2020-03-09 18:00’ and ‘2020-03-12 17:01’; set markup html offspool off

Author avatar

Translate »