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,
  shutdown_pending,
  database_status,
  instance_role,
  active_state,
  blocked
from
  gv$instance;
Github repository oracle-patterns, path: /Installed/dynamic-performance-views/instance/columns.sql

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