Show TOC

-f dbshutLocate this document in the navigation structure

This BRSPACE function shuts the database instance. For more information, see Shutting Down the Database with BR*Tools.

Function options:

  • -f|-force: forces an immediate shutdown of the database instance, even if SAP users are connected

    Default: does not force a shutdown.

  • -i|-instance: defines which database instances are to be shut

    Syntax: -i|-instance all_inst|all_up|<instance>|<instance_list>

    • all_inst shuts all instances of an Oracle Real Application Cluster (RAC). With option -f|-force, first starts up stopped instances before shutting them down, enabling a clean shutdown of aborted instances.

    • all_up shuts all database instances that are currently up, that is, running

    • <instance> shuts the specified instance

    • <instance_list> shuts the specified instances

    Default: the database instance defined by the ORACLE_SID environment variable

    Note

    You only need to specify database instances for Oracle RAC.

  • -m|-mode: defines the mode in which the database instance shuts

    Syntax: -m|-mode immediate|normal|transactional|abort

    • immediate shuts the database immediately after ending all user sessions and stopping all transactions (open transactions are rolled back)

    • normal shuts the database cleanly after waiting for all users to disconnect.

    • transactional shuts the database cleanly after waiting for all transactions to finish

    • abort shuts the database immediately without rolling back open transactions

    For more information on shutdown modes, see the Oracle documentation.

    Default: immediate