Terminating Db2 normally
Whenever possible, ensure that Db2 terminates normally.
Procedure
To terminate Db2, issue
either of the following commands:
-STOP DB2 MODE (QUIESCE)
-STOP DB2 MODE (FORCE)
During shutdown, use the command DISPLAY THREAD to check the shutdown progress. If shutdown is taking too long, you can issue STOP DB2 MODE (FORCE), but rolling back work can take as long as or longer than the completion of QUIESCE.
Results
When stopping in either mode, the following steps occur:
- Connections end.
- Db2 ceases to accept commands.
- Db2 disconnects from the IRLM.
- The shutdown checkpoint is taken and the BSDS is updated.