Schedule demo

IBM DB2 Server Monitoring


Overview

IBM DB2 for Linux, UNIX and Windows (Db2 for LUW) is a family of relational database management system (RDBMS) products from IBM that serve a number of different operating system platforms. DB2 is designed to store, analyze and retrieve the data efficiently and is supported across Linux, Unix, and Windows operating systems.

Applications Manager's DB2 Server Monitoring capability helps database administrators (DBAs) monitor the availability and performance of production databases.

Creating a new IBM DB2 monitor

Supported Versions: Applications Manager supports monitoring of IBM DB2 for Linux, UNIX and Windows versions 8, 9, 10 and 11.

Prerequisites for monitoring IBM DB2 metrics:Click here

Using the REST API to add a new IBM DB2 monitor:Click here

To create a IBM DB2 database server monitor, follow the given steps:

  1. Click on New Monitor link.
  2. Select DB2 DB Server.
  3. Enter the IP Address or hostname of the host.
  4. Enter the SubNetMask of the network.
  5. Enter the port number in which DB2 is running.
  6. Choose SSL is enabled option if DB2 server is to be accessed via SSL port.
  7. Provide the user name and password of user who has permission to access the DB2 database. The user name specified for collecting the data from DB2 Server should have either System Administrator role or the user should be the DB owner for master database. Else, you can select the required credentials from the Credential Manager list by enabling the Select from Credential list option.
  8. Specify the Database Name.
  9. Enter the polling interval.
  10. If you are adding a new monitor from an Central Server, select a Probe Server.
  11. Choose the Monitor Group from the combo box with which you want to associate DB2 database server Monitor (optional). You can choose multiple groups to associate your monitor.
  12. Click Add Monitor(s). This discovers DB2 database server from the network and starts monitoring them.

Monitored Parameters

  • Availability tab gives the Availability history for the past 24 hours or 30 days.
  • Performance tab gives the Health Status and events for the past 24 hours or 30 days.
  • List view enables you to perform bulk admin configurations.

Click on the individual monitors listed to view the following information in the below tabs:

Overview

Monitor Information

ParametersDescription
NameSpecifies the name of IBM DB2 server monitor.
HealthSpecifies the health (Clear, Warning, Critical) of the IBM DB2 server.
TypeSpecifies the type you are monitoring.
VersionSpecifies the version of the database server.
PortSpecifies the port number at which the database server is running.
Instance NameThe name of the instance in which the database is present
Server StatusThe current status of the database server itself
Started TimeThe date and time that the database manager was started using the db2start command.
Host NameSpecifies the host at which the database server is running.
Host OSSpecifies the OS of the host where the database server is running.
Last AlarmSpecifies the last alarm that was generated for the database server.
Last Polled atSpecifies the time at which the last poll was performed.
Next Poll atSpecifies the time at which the next poll is scheduled.
AvailabilityShows the current status of the server - available or not available.

Connection Statistics

ParametersDescription
Connection TimeTime taken to get connected to the IBM DB2 database server
Total ConnectionsThe total number of local and remote connections that currently present in the database manager
Local ConnectionsThe number of connections initiated from remote clients to the current instance of the database manager
Remote ConnectionsThe number of local applications that are currently connected to the database within the database manager

Agents Statistics

ParametersDescription
Active AgentsThe number of agents in the agent pool that are currently active and assigned to an application
Idle AgentsThe number of agents in the agent pool that are currently unassigned to any application
Number of AgentsThe number of agents registered in the current database manager instance
Agents WaitingThe number of agents waiting for a token so they can execute a transaction in the database manager

Database Information

ParametersDescription
Database NameThe real name of the database for which information is collected
HealthSpecifies the health (Clear, Warning, Critical) of the database.
Database AliasThe alias of the database provided when calling the snapshot function
Database PathThe full path of the location where the database is stored on the monitored system
Database StatusThe current status of the database
Connected TimeThe date and time when the activate database was issued
Deadlock RateThe total number of deadlocks that have occurred in the given polling interval
Percentage of Log UtilizationThe total amount of active log space used in bytes in the database
Percentage of Sorts OverflowedThe percentage of sorts that have over flowed
Backup AgeAmount of time elapsed since the last backup (in hour(s)).

Transaction Statistics

ParametersDescription
Successful QueriesThe total number of successful SQL statements executed at the database in the given polling interval
Failed QueriesThe number of SQL statements that were attempted, but failed at the database in the given polling interval
Units of WorkThis represents the total number of sql commits, internal commits, sql roll backs and internal roll backs done by the database manager in the given polling interval

Cache Performance

ParametersDescription
Package Cache Hit RatioThe hit ratio is a percentage indicating how well the package cache is helping to avoid reloading packages and sections for static SQL from the system catalogs as well as helping to avoid recompiling dynamic SQL statements.
Catalog Cache Hit RatioThe hit ratio is a percentage indicating how well the catalog cache is helping to avoid actual accesses to the catalog on disk

Buffer Statistics

ParametersDescription
Buffer Pool Hit RatioThe buffer pool hit ratio indicates the percentage of time that the database manager loaded the required page from buffer pool in order to service a page request
Index Page Hit RatioThe Index Page hit ratio indicates the percentage of time that the database manager accessed the index pages present in the buffer pools.
Data Page Hit RatioThe Data Page hit ratio indicates the percentage of time that the database manager accessed the data pages present in the buffer pools.
Direct ReadsThe number of read operations that do not use the buffer pool
Direct WritesThe number of write operations that do not use the buffer pool

TableSpace Status

ParametersDescription
NameRefers to the name of the Table space.
Allocated Bytescalculated from (tablespace_total_pages)*(tablespace_page_size) and converted to MB
Free Bytescalculated from (tablespace_free_pages)*(tablespace_page_size) and converted to MB
% of Free Bytescalculated from (tablespace_free_pages) /(tablespace_total_pages)*100

Performance

ParametersDescription
Top 10 Long Running Query
Program NameName of the program/application that was running the query.
Application HandleRepresents the unique session ID for the query.
User NameName of the user executing the query.
DB NameThe database name under which the query has been running.
Run TimeAmount of time for which the query has been running (in seconds).
Activity StateThe current state of the activity.
Total CPUThe cumulative total amount of CPU time that has been spent in running the query (in millisecond).
QueryThe query which consumed the maximum CPU time.
Collection TimeThe time at which the data was collected.
 
Note: Applications Manager supports option to obtain History datain DB2 server monitors, from version 176500. The time period for data collection can be selected from the given options:
  • Last Polled Data
  • Last 7 Days Data
  • Last 30 Days Data
  • Custom Period
  • Search option: The Search option helps to search and find the required attribute, whether it be Program Name, Application Handle, User Name, DB Name, Run Time, Activity State, Total CPU, Query or Collection Time.

Session

ParametersDescription
Top 100 Session Details per Database
PIDDisplays the process ID of the session running in the DB2 server.
UserThe login name of the user executing the process.
Host Name/IPThe hostname of the machine where the session is running.
Program NameName of the program/application that has established the session.
DB NameDisplays the name of the database currently being used by the process.
Total CPUThe cumulative CPU time taken for running the process (in milliseconds).
CPU I/OAmount of CPU time taken by the process to perform I/O operations (in milliseconds).
Network Communication CPUAmount of time spent by the CPU on client-server communications (in milliseconds).
Total Wait TimeThe total amount of time spent by an application waiting within the DB2 database server (in milliseconds).
Agent Wait TimeAmount of time spent by an application queued to wait for an agent under concentrator configurations (in milliseconds).
Lock Wait TimeAmount of time spent by an application waiting for locks (in milliseconds).
Client Idle TimeAmount of time spent waiting for the client to send its next request (in milliseconds).
Start TimeThe date and time at which the session started.

Loved by customers all over the world

"Standout Tool With Extensive Monitoring Capabilities"

It allows us to track crucial metrics such as response times, resource utilization, error rates, and transaction performance. The real-time monitoring alerts promptly notify us of any issues or anomalies, enabling us to take immediate action.

Reviewer Role: Research and Development

carlos-rivero
"I like Applications Manager because it helps us to detect issues present in our servers and SQL databases."
Carlos Rivero

Tech Support Manager, Lexmark

Trusted by over 6000+ businesses globally