たくさんのTEMP表領域を使用しているセッションがないかの確認する。 以下は2018/12/1 22:00から翌日22:00までの間にTEMP表領域を1GB以上使用している例。
select sample_time ,session_id ,session_serial# ,seq# ,user_id ,sql_id ,top_level_sql_id ,event ,session_state ,program ,machine ,temp_space_allocated from dba_hist_active_sess_history where sample_time between to_timestamp ('2018/12/01 22:00:00', 'YYYY/MM/DD HH24:MI:SS') and to_timestamp ('2018/12/02 22:00:00', 'YYYY/MM/DD HH24:MI:SS') and temp_space_allocated > 104857600 order by 1 ;