top of page

DB2 Snapshot information | Monitor level : Database

  • Writer: Jha Chandan
    Jha Chandan
  • Feb 16, 2021
  • 2 min read

In this article we will see and learn how to get snapshot information about databases and instances for monitor level Database.


1) get snapshot for database on dbname : Database level information and counters for a database. Information is returned only if there is at least one application connected to the database.

Example :

db2 connect to <db_name>
db2 get snapshot for database on <db_name>
ree

2) get snapshot for all databases : Database level information and counters for each database active on the partition. Information is returned only if there is at least one application connected to the database.

Example:

Db2 get snapshot for all databases
ree

3) list active databases : The number of connections to each active database. Includes databases that were started using the ACTIVATE DATABASE command, but have no connections.


Example:

db2 list active databases
ree

4) get snapshot for dcs database on dbname : Database level information and counters for a specific DCS database. Information is returned only if there is at least one application connected to the database.

Example:

db2 get snapshot for dcs database on <db_name> 
ree

5) get snapshot for remote database on dbname : Database level information and counters for a specific federated system database. Information is returned only if there is at least one application connected to the database.

Example:

db2 get snapshot for remote database on BFENT

6) get snapshot for all remote databases : Database level information and counters for each active federated system database on the partition. Information is returned only if there is at least one application connected to the database. Example:

db2 get snapshot for all remote databases

In next post we will see DB2 Snapshot information | Monitor level : Application. Please Like, Follow, Share & Subscribe.

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