IBM DB2

Use the following procedure for monitoring the IBM DB2 database.

  1. Navigate to Database monitoring on the left pane.
  2. Select DB2 from the Select database drop-down list.
  3. Select a service from the Select service drop-down list.
  4. Select a database from the Select database drop-down list.

The following screen appears along with the various available tabs.

IBM DB2 Hardware

Hardware

The Hardware tab is selected by default. The following widgets are displayed.

Widget NameDescription
Type of OSType of OS on which DB is running (Linux/Windows etc.)
ArchitectureThe OS architecture
Host nameConfigured host name on which DB is present
AvailabilityActive/Inactive — the database availability
Average CPU usage (%)Average CPU usage of the machine
Average memory usage (MB)Average memory usage of the machine
Disk usageDisk space utilization
CPU usageCPU utilization of the host
Disk requestDisk I/O request rate in DB2 Database
Memory usageMemory utilization

Query Performance

Clicking the Query Performance tab and selecting the threshold from the Query threshold drop-down list displays the following screen.

IBM DB2 Query Performance
note

You can download the Query Performance table in PDF format by clicking the    icon. Only the top 100 entries are downloaded if there are more than 100 entries for downloading.

Connections

Clicking the Connections tab displays the following widgets as in the following screen.

IBM DB2 connections
Widget NameDescription
Total active connectionsNumber of currently active connections
Total active sessionsTotal number of active DB sessions
Sessions tableTable displaying details of DB sessions

Metrics

Clicking the Metrics tab displays the following widgets.

IBM DB2 metrics
Widget NameDescription
Insert queries per secondNumber of insert queries executed per second
Slow queries per secondNumber of slow queries executed per second
Total queriesTotal number of queries executed
Locks waited per secondNumber of lock waits per second
Max connection per secondMaximum number of connections per second
Total buffer pool readsTotal number of reads from buffer pool
Buffer pool cache hit ratioPercentage of reads served from buffer pool (cache hits)
Transactions per secondNumber of transactions executed per second
Buffer pool size per DBBuffer pool size allocated per database
System wait time (ms)Average wait time of system resources
Deadlocks per secondNumber of deadlocks detected per second
Total open tablesTotal number of open tables in the database

Multi-column Filter

Query performance

  1. Multi-column filter can be applied on numeric columns within the Query performance Table to refine the displayed data based on specific conditions.
  2. When the user clicks on the “Filter by” option, user can apply filter below numeric columns
Column NameDescription
Total executionTotal number of query executions recorded.
Maximum execution time (s)The longest query execution time recorded in seconds.
Maximum execution timestampDate and time when the longest-running query was recorded.
  1. Each filter condition is applied using the below operators and value ( user input based on the unit)
Operator
Greater than
Less than
Equals
Greater than or equals
Less than or equals
ibmdb2 query performance table multi-column filter
  1. Once filters & conditions are applied save button is enabled & click "Save" to apply the filter.
  2. Once filters & conditions are applied it displays no. of filters are applied. number of Filters
note
  • Filters are applied using AND logic — all specified conditions must be met for a record to be displayed.
  • Only numeric columns support filtering; non-numeric fields (e.g., text or categorical values) are excluded from the filter options.
  • When the Maximum Execution Timestamp (s) filter is applied, the system reviews each query in the table. If a query was executed within the time frame selected in the top-right corner, it displays that query’s maximum execution timestamp and maximum execution time.
  • If no records match the selected filters, the table will display a message such as “No data".
  • The multi-column filter state persists until the user clears filters by clicking on "Clear" button when Filter by button is clicked.
  • A "Reset" button is available to clear all applied filters and restore the table to its original, unfiltered state. This button is enabled only when one or more filters are currently applied. Reset Button