Monday, February 5, 2024

How to check all node are serving in RAC - 4 node cluster

 

Query to check , all node are serving connection in RAC


Query-1

select inst_id,count(*)
from
   gv$session
where
   username is not null
group by
   inst_id;


Query-2


select
   inst_id,
   count(*)
from
   gv$session
where
   status='ACTIVE' and username is not null
group by
   inst_id;





No comments:

Post a Comment

Common Oracle Database TNS Listener Errors ORA-XXX

Client → TNS Resolution → Network → Listener → Database Service → Database Instance Common Oracle TNS Listener Errors Error Code Error Messa...