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

Oracle Data Guard 26ai New Features and Enhancements

  Oracle Data Guard 26ai (and 21c onwards)  Faster role transitions – Reduces switchover and failover time by optimizing role change workfl...