Turns one or more database monitor recording switches on or off. When the database manager starts, the settings of the six switches are determined by the dft_mon database manager configuration parameters
.
The database monitor records a base set of information at all times. Users who require more than this basic information can turn on the appropriate switches, but at a cost to system performance. The amount of information available in output from GET SNAPSHOT reflects which, if any, switches are on.
Authorization
One of the following:
Required Connection
Instance or database:
To update the monitor switches at a remote instance (or a different local instance), it is necessary to first attach to that instance.
Command Syntax
.------------------------. V | >>-UPDATE MONITOR SWITCHES USING-------switch-name--+-ON--+--+->< '-OFF-'
Command Parameters
Usage Notes
Information is collected by the database manager only after a switch is turned on. The switches remain set until db2stop is issued, or the application that issued the UPDATE MONITOR SWITCHES command terminates. To clear the information related to a particular switch, set the switch off, then on.
Updating switches in one application does not affect other applications.
To view the switch settings, use GET MONITOR SWITCHES.