According to The Oracle FAQ, you can query the SYS.V_$ACTIVE_INSTANCES and/or SYS.V_$THREAD views to find the number of active RAC instances. I remember reading somewhere that the V_$ views are internal to Oracle and subject to change without notification. Is this true? Is there an “official” way to find the number of running instances in a RAC database in a stored procedure? Is there a way to find out the total number of RAC instances for a database, running or not?
According to The Oracle FAQ , you can query the SYS.V_$ACTIVE_INSTANCES and/or SYS.V_$THREAD views
Share
From the same oracle FAQ,
and yes are “subject to change without notification”: someone can draw out the power cable of one machine “without notification”