Wann wurde die Oracle-Datenbankinstanz gestartet?

Sie möchten wissen, wann Ihre Oracle-Datenbankinstanz gestartet wurde? Die Views v$instance und gv$instance geben darüber Auskunft. Während v$instance für Single Instance Datenbanken - also Datenbanken ohne RAC-Option - gut geeignet ist, zeigt die View gv$instance clusterweite Informationen an. Hier ein Beispiel:

Wann wurde die ORACLE-Instanz gestartet?
C:\>set ORACLE_SID=RAC1
 
C:\>sqlplus / as sysdba
SQL*Plus: Release 11.1.0.6.0
Production on Sa Jan 10 13:06:13 2009
Copyright (c) 1982, 2007, Oracle.  All rights reserved.
 
Verbunden mit:
Oracle Database 11g 
Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and 
Real Application Testing options
 
SQL> 
  1  ALTER SESSION SET 
  2  nls_date_format = 'dd.mm.yyyy hh24:mi:ss';
Session wurde geändert.
 
SQL> column host_name format a20
SQL> set linesize 150
 
SQL> 
  1  SELECT  inst_id
  2        , instance_name
  3        , host_name
  4        , status
  5        , startup_time
  6  FROM
  7        gv$instance;
 
INST_ID INSTANCE_NAME HOST_NAME STATUS  STARTUP_TIME
------- ------------- --------- ------- -------------------
      1 RAC1           RACX1    OPEN    10.01.2009 13:03:09
      2 RAC2           RACX2    OPEN    10.01.2009 13:03:09