Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use db2 deadlock monitor

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces "db2 deadlock monitor use method", in daily operation, I believe many people in db2 deadlock monitor use method problems have doubts, small make up consult all kinds of information, sort out simple and easy to use operation method, hope to answer "db2 deadlock monitor use method" doubts helpful! Next, please follow the small series to learn together!

DB2DETAILDEADLOCK event monitor disable and rebuild

I. Impact of open monitors on database performance:

DB2 commonly uses two tools to collect monitoring information: snapshot monitors and event monitors. The former is used to obtain monitoring data for a specific point in time, and the latter is used to obtain monitoring data for a specific event. No matter which monitoring tool users use to collect data related to database system monitors, it will cause certain system overhead, including memory, CPU, and extra call processing for obtaining monitoring data. In order to control the collection of necessary monitoring information and reduce unnecessary system overhead, DB2 introduces a monitor switch mechanism. Each switch has two states: "ON" and "OFF." When the switch is in "OFF", the information of the relevant monitoring element under its control will not be collected. Monitor status at the DB2 instance level (database manager) can be obtained with "db2 get dbm monitor switches." When a monitor opens a switch under an instance, the switch corresponding to the instance level will also be opened.

For example:

Collected DBM System Monitor Information

db List of switches for partition number 0

BUFFERPOOL = OFF

Lock = OFF

Sort Information (SORT) = OFF

SQL statement info (STATEMENT) = OFF

Table activity information (TABLE) = OFF

Get Timestamp Information (Timestamp)= ON 2005-06-26 10:36:47.019334

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report