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

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758204646, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/installed/dynamic-performance-views/instance/index(72): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78