How to Shutdown the Oracle database

 How to Shutdown the Oracle database

Various modes to shutdown the database are

  1. Shutdown immediate
  2. Shutdown transactional
  3. Shutdown normal
  4. Shutdown abort
No further logins will be permitted once you issue any of these Shutdown commands.

SQL>Shutdown Immediate    -- this is the best method for shutting down the database

Oracle Database stops any executing SQL statements and disconnects users. Active transactions are terminated and uncommitted changes are rolled back and No further logins will be permitted.

Shutdown the Oracle database


SQL>Shutdown Transactional

This mode stops users from logging in , but waits for all current transactions to complete before shutting down. This may take long hours to complete as per the active transactions at that particular instance.

SQL>Shutdown Normal

This mode the database waits for all connected users to disconnect before shutting down. It waits till all the current transactions end.

SQL> Shutdown Abort   -- It is better to avoid this unless it is the only option available

This is the fastest shutdown mode. Instance recovery is required in the next startup and hence it will take time.


Post a Comment

And that's all there is to it!

If anyone has any other questions or requests for future How To posts, you can either ask them in the comments or email me. Please don't feel shy at all!

I'm certainly not an expert, but I'll try my hardest to explain what I do know and research what I don't know.

Previous Post Next Post