IBM Books

Command Reference

RESET MONITOR

Resets the internal Database System Monitor data areas of a specified database, or of all active databases, to zero. The internal database system monitor data areas include the data areas for all applications connected to the database, as well as the data areas for the database itself.

Authorization

One of the following:

sysadm
sysctrl
sysmaint

Required Connection

Instance. To reset the monitor switches for a remote instance (or a different local instance), it is necessary to first attach to that instance.

Command Syntax



>>-RESET MONITOR---+-ALL-------------------------------+-------><
                   +-FOR--+-DATABASE-+-database-alias--+
                          +-DB-------+
 

Command Parameters

ALL
This option indicates that the internal counters should be reset for all databases.
FOR DATABASE database-alias
This option indicates that only the database with alias database-alias should have its internal counters reset.

Usage Notes

Each process (attachment) has its own private view of the monitor data. If one user resets, or turns off a monitor switch, other users are not affected. Change the setting of the monitor switch configuration parameters to make global changes to the monitor switches (see UPDATE DATABASE MANAGER CONFIGURATION).

If ALL is specified, some database manager information is also reset to maintain consistency of the returned data, and some node-level counters are reset.

To see a list of the data items that can be reset, see the System Monitor Guide and Reference.

See Also

GET SNAPSHOT


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]