Catégorie : Système

Lancer ./runInstaller

Des fois on galère :    jjoly@rutamerestion001:~$ ssh -X rutorac001 [jjoly@rutorac001 ~]$ xauth listrutorac001/unix:10 MIT-MAGIC-COOKIE-1 76dfdf9d53979sdfdsfsf10467a7a3020649df [jjoly@rutoracrm001 ~]$ sudo -iEu oracle [oracle@rutorac001:CRM] $ xauth add rutorac001/unix:10 MIT-MAGIC-COOKIE-1 76dfdf9d53979sdfdsfsf10467a7a3020649df [oracle@rutorac001:CRM] $. read more…

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

Translate »