Tema: Instancia
Ver Mensaje Individual
  #2 (permalink)  
Antiguo 04/03/2008, 08:57
Avatar de matanga
matanga
 
Fecha de Ingreso: octubre-2007
Ubicación: España
Mensajes: 1.091
Antigüedad: 16 años, 6 meses
Puntos: 85
Re: Instancia

Hola,

Depende del sistema operativo.

Si estas en windows, para realizar un shutdown immediate, necesitas

1. Tener la clave del registro ORA_SID_SHUTDOWN en TRUE
2. Tener la clave del registro ORA_SID_SHUTDOWNTYPE en immediate o i dependiendo de la version de Oracle.
3. Detener el servicio OracleServiceSID

o bien

Código:
C:\>set ORACLE_SID=10G

C:\>sqlplus / as sysdba

SQL*Plus: Release 10.2.0.1.0 - Production on Mar Mar 4 15:51:54 2008

Copyright (c) 1982, 2005, Oracle.  All rights reserved.


Conectado a:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the OLAP and Data Mining options

SQL> shutdown immediate;
Base de datos cerrada.
Base de datos desmontada.
Instancia ORACLE cerrada.
SQL>
Y despues detener el servicio.

Si estas en Linux/Unix,

Código:
oracle@buo:~> export ORACLE_SID=ORA10
oracle@buo:~> sqlplus / as sysdba

SQL*Plus: Release 10.2.0.1.0 - Production on Sat Feb 9 19:43:56 2008

Copyright (c) 1982, 2005, Oracle.  All rights reserved.


Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options

SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL>
Tambien puedes ver por las demas opciones de shutdown.

Saludos