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