Quantcast
Channel: Doyensys Allappsdba Blog..
Viewing all articles
Browse latest Browse all 1640

Find RAC Instance in which the Concurrent Request is running

$
0
0
Find RAC Instance in which the Concurrent Request is running:
============================================
Give Short name between %% in module column in dba_hist_active_sess_history table:

select INSTANCE_NUMBER,SAMPLE_TIME,SESSION_ID,SESSION_SERIAL#,SQL_ID,MODULE,ACTION,MACHINE,to_char(sample_time,'DD-MON-YYYY HH24:MI:SS') from dba_hist_active_sess_history where
module like '%ARZACS%'
and to_char(sample_time,'DD-MON-YYYY HH24:MI:SS') between '10-JAN-2016 01:10:11' AND '10-JAN-2016 01:20:05' group by INSTANCE_NUMBER,SAMPLE_TIME,SESSION_ID,SESSION_SERIAL#,SQL_ID,MODULE,ACTION,MACHINE,to_char(sample_time,'DD-MON-YYYY HH24:MI:SS') ORDER BY 2; 

Viewing all articles
Browse latest Browse all 1640

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>