Stopping the governor

The governor utility monitors applications that are connected to a database, and changes the behavior of those applications according to rules that you specify in a governor configuration file for that database.

Before you begin

To stop the governor, you must have SYSADM or SYSCTRL authorization.

About this task

Important: The Db2® governor utility is deprecated and might be removed in a future release. It is not supported in Db2 pureScale® environments. For more information, see Db2 Governor and Query Patroller have been deprecated..

Procedure

To stop the governor, use the db2gov command, specifying the STOP parameter.

Example

For example, to stop the governor on all database partitions of the SALES database, enter the following command:
db2gov STOP sales
To stop the governor on only database partition 3, enter the following command:
db2gov STOP sales nodenum 3