srvctl stop database

Stops a database, its instances, and its services. When the database later restarts, services with AUTOMATIC management start automatically but services with MANUAL management policy must be started manually.

Syntax and Parameters

Use the srvctl stop database command with the following syntax:

srvctl stop database -db db_unique_name [-stopoption stop_options] 
  [[-stopconcurrency number_of_instances] [-eval] [-force] [-verbose]

Table A-187 srvctl stop database Parameters

Parameter Description
-db db_unique_name

Unique name for the database.

-stopoption stop_options

Use this parameter to specify shutdown command options, such as NORMAL, TRANSACTIONAL, IMMEDIATE, or ABORT

See Also: SQL*Plus User's Guide and Reference for more information about shutdown options

[-stopconcurrency number_of_instances]

Specify a number of database instances to stop simultaneously, or specify 0 for an empty stop concurrency value.

-eval

Use this parameter to hypothetically evaluate the impact of the command on the system.

-force

This parameter stops the database, its instances, its services, and any resources that depend on those services

-verbose

Display verbose output

Example

An example of this command is:

$ srvctl stop database -db crm -stopoption NORMAL