Terminating Db2 normally

Whenever possible, ensure that Db2 terminates normally.

Procedure

Begin general-use programming interface information.

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:
  1. Connections end.
  2. Db2 ceases to accept commands.
  3. Db2 disconnects from the IRLM.
  4. The shutdown checkpoint is taken and the BSDS is updated. End general-use programming interface information.