SQL*Plus User's Guide and Reference
Release 8.1.6

A75664-01

Library

Product

Contents

Index

Prev Up Next

Command Reference, 42 of 52


SHUTDOWN

Purpose

Shuts down a currently running Oracle instance, optionally closing and dismounting a database. You cannot use SHUTDOWN to stop Oracle instances on Oracle 7 servers.

Syntax

SHUTDOWN [ABORT|IMMEDIATE|NORMAL]

Terms and Clauses

Refer to the following list for a description of each term or clause:

ABORT

      Proceeds with the fastest possible shutdown. Does not wait for calls to complete or users to disconnect. Does not close or dismount the database, but does shut down the instance. Requires instance recovery on next startup. You must use this option if a background process terminates abnormally.

IMMEDIATE

      Does not wait for current calls to complete, prohibits further connects, and closes and dismounts the database. Finally, shuts down the instance. Does not wait for connected users to disconnect. Does not require instance recovery on next startup.

NORMAL

      Waits for currently connected users to disconnect from the database, prohibits further connects, and closes and dismounts the database. Finally, shuts down the instance. Does not require instance recovery on next startup. NORMAL is the default option.

Usage Notes

SHUTDOWN with no arguments is equivalent to SHUTDOWN NORMAL.

You must be connected to a database as SYSOPER, or SYSDBA. You cannot connect via a multi-threaded server. For more information about connecting to a database, see the CONNECT command earlier in this chapter.

Example

To shutdown the database in normal mode, enter

SQL> SHUTDOWN 
Database closed. 
Database dismounted. 
Oracle instance shut down. 


Prev Up Next
Oracle
Copyright © 1999 Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index