Search notes:

Oracle: V$INSTANCE

select
  inst_id,
  instance_number,
  instance_name,
  host_name,
  version,
  startup_time,
  status,
  parallel,
  thread#,
  archiver,
  log_switch_wait,
  logins,              -- ALLOWED or RESTRICTED, see startup restrict.
  shutdown_pending,
  database_status,
  instance_role,
  active_state,
  blocked
from
  gv$instance;

INSTANCE_ROLE

instance_role can be used to determine if an instance is an active instance (=primary instance) or a secondary instance (in a standby environment)

VERSION

dbms_utility.db_version can be used to retrieve the same version as the field version in v$instance.

STARTUP_TIME

Compare with dbms_utility.get_time.

See also

Oracle Dynamic Performance Views
Oracle instance

Index