top of page

How to reset snapshot monitors on DB2

  • Writer: Jha Chandan
    Jha Chandan
  • Jan 31, 2021
  • 1 min read

A snapshot monitor captures information about a database and connected applications at a given time.

Use a snapshot monitor when:


1) You want to capture database information at a specific point-in-time

2) You want to observe trends. Also, allows you to forecast problems

3) Troubleshoot database performance problems during a known time period.

4) Ad-hoc database health review


To reset the snapshot monitors on DB2 perform the commands below:

Syntax :

db2 attach to <instance_name>

Example :

db2inst1@HP06Ubuntu:~$ db2 attach to db2inst1

   Instance Attachment Information

 Instance server        = DB2/LINUXX8664 11.5.0.0
 Authorization ID       = DB2INST1
 Local instance alias   = DB2INST1

Syntax:

db2 reset monitor for database <db_name>

Example:

db2inst1@HP06Ubuntu:~$ db2 reset monitor for database BFENT
DB20000I  The RESET MONITOR command completed successfully.
db2inst1@HP06Ubuntu:~$ 

Syntax:

db2 reset monitor all

Example:

db2inst1@HP06Ubuntu:~$ db2 reset monitor all
DB20000I  The RESET MONITOR command completed successfully.
db2inst1@HP06Ubuntu:~$ 

That's all in this article. Please LIKE, SHARE & SUBSCRIBE to get more content like this.

Comments


jc_logo.png

Hi, thanks for stopping by!

Welcome to my “Muse & Learn” blog!
Muse a little, learn a lot.✌️

 

Here you’ll find practical SQL queries, troubleshooting tips with fixes, and step-by-step guidance for common database activities. And of course, don’t forget to pause and muse with us along the way. 🙂
 

I share insights on:​​

  • Db2

  • MySQL

  • SQL Server

  • Linux/UNIX/AIX

  • HTML …and more to come!
     

Whether you’re just starting out or looking to sharpen your DBA skills, there’s something here for you.

Let the posts
come to you.

Thanks for submitting!

  • Instagram
  • Facebook
  • X
2020-2025 © TechWithJC

Subscribe to Our Newsletter

Thanks for submitting!

  • Facebook
  • Instagram
  • X

2020-2025 © TechWithJC

bottom of page