SHUTDOWN
Shuts down a currently running Oracle instance.
Format
SHUTDOWN [ ABORT | IMMEDIATE | NORMAL ];
Command Parameters
None.
Usage Notes
-
Using the
SHUTDOWNcommand with no arguments is equivalent to using theSHUTDOWN NORMALcommand. -
The following list describes the options to the
SHUTDOWNcommand:-
ABORTProceeds with the fastest possible shutdown of the database without waiting for calls to complete or for users to disconnect from the database. Uncommitted transactions are not rolled back. Client SQL statements being processed are terminated. All users connected to the database are implicitly disconnected, and the next database startup will require instance recovery. You must use this option if a background process terminates abnormally.
Caution:
If you use the
ABORToption on the primary database when fast-start failover is enabled and the observer is running, a fast-start failover may ensue. Use theIMMEDIATEorNORMALoption to prevent an unexpected fast-start failover from occurring. -
IMMEDIATEDoes not wait for current calls to complete or users to disconnect from the database. Further connections are prohibited. The database is closed and dismounted. The instance is shut down, and no instance recovery is required on the next database startup.
-
NORMALThis is the default option. The process waits for users to disconnect from the database. Further connections are prohibited. The database is closed and dismounted. The instance is shut down, and no instance recovery is required on the next database startup.
-
Command Example
The following command shuts down the primary database in normal mode.
DGMGRL> SHUTDOWN; Database closed. Database dismounted. Oracle instance shut down.