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.
This command is issued on the currently attached member and, by default, returns information only for that member. In the case of multiple members per host, the currently attached member is the first member that is listed in the db2nodes.cfg file on that host.
To issue the command for a specific member that is not the currently attached member, specify the ATTACH_MEMBER parameter. To issue the command for all members and receive an aggregated result, specify the GLOBAL parameter.
To change the currently attached member, issue the SET CLIENT command with the ATTACH_MEMBER parameter . You must issue the DETACH command followed by the ATTACH command from your application for this change to take effect.
Instance. If there is no instance attachment, a default instance attachment is created.
To reset the monitor switches for a remote instance (or a different local instance), it is necessary to first attach to that instance.
>>-RESET MONITOR------------------------------------------------> >--+-ALL--+-----+-------------------------------+---------------> | '-DCS-' | '-FOR--+-----+--+-DATABASE-+--database-alias-' '-DCS-' '-DB-------' >--+--------------------------+-------------------------------->< +-AT MEMBER--member-number-+ '-GLOBAL-------------------'
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.
If ALL is specified, some database manager information is also reset to maintain consistency of the returned data, and some member-level counters are reset.