Detailed steps for DB2 database performance monitoring

Source: Internet
Author: User

DB2 databasePerformance monitoring is another leap in the functionality of DB2 databases, marking the development of DB2 databases. Master the specific steps of DB2 database performance monitoring to Improve the Performance Monitoring of DB2 databases.

To monitor the performance of a DB2 database, follow these steps:

1: Create an SQL statement Monitor

Db2 create event monitor statmon for statements

Write to file 'C: \ IBM \ butone \ statmon '"

2: create a directory

Md C: \ IBM \ butone \ statmon

3: Start the monitor

Db2 set event monitor statmon state 1

4: Execute the task

Do some job ....

5. finished output

Db2 flush event monitor statmon buffer

6. Disable the monitor.

Db2 set event monitor statmon state 0

7. format the output.

Db2evmon-path C: \ IBM \ butone \ statmon> statmon. log

Note: Check the execution time of SQL statements in statmon. log.
The specific steps to monitor the performance of these DB2 databases are the most basic operations of the DB2 database. This is very important for beginners. Only after these basic steps can they be further explored, then we will study the DB2 database at a deeper level to better understand the knowledge of the DB2 database.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.