IBM DB2
Supported DB2 versions and how the Component Agent monitors them with SQL queries.
Supported Components and Versions#
| LAYER | COMPONENT | VERSION |
|---|---|---|
| DB Server | DB2 | 10.5 and 11.x |
Monitoring Strategies for Components#
Monitoring of these DB servers is using database specific SQL queries triggered from HEAL’s Component Agent. The component agent can reside on the same host, or it can trigger these queries remotely.
KPIs collected#
| Component Name | kpi_name | kpi_identifier | KpiDescription | Units |
|---|---|---|---|---|
| DB2 | Application Connected | APPLICATION_CONNECTED | indicates whether an application is currently connected | Count |
| DB2 | Application Executing | APPLICATION_EXECUTING | indicates whether an application is currently executing | Count |
| DB2 | Total Connection | TOTAL_CONNECTION | New Connects Per Minute | Count |
| DB2 | Asynchronous Write | ASYNCHRONOUS_WRITE | measures the number of asynchronous writes made to the disk per second. | Percentage |
| DB2 | Synchrounous Read | SYNCHROUNOUS_READ | Number of synchronous read operations. | Percentage |
| DB2 | Logical Physical Read | LOGICAL_PHYSICAL_READ | Logical and Physical Read Rate Per Minute | Minutes |
| DB2 | Buffer Hit Ratio | BUFFER_HIT_RATIO | The percentage of requests that can be served by accessing data from the buffer rather than disk. | Percentage |
| DB2 | Buffer Data Hit | BUFFER_DATA_HIT | Number of times the database accessed the buffer cache to read data. | Percentage |
| DB2 | Buffer Index Hit | BUFFER_INDEX_HIT | Number of times the database accessed the buffer cache to read index information. | Percentage |
| DB2 | Threshold Cleaner Ratio | THRESHOLD_CLEANER_RATIO | Average number of logical index reads per transaction from the buffer pool. | Percentage |
| DB2 | Victim Clean Ratio | VICTIM_CLEAN_RATIO | Average number of logical reads per transaction from the buffer pool. | Percentage |
| DB2 | Buffpool Logical Index Read per Transaction | BUFFPOOL_LOGICAL_INDEX_READ_PER_TXN | Average number of logical index reads per transaction from the buffer pool. | Count |
| DB2 | Buffpool Logical Read per Transaction | BUFFPOOL_LOGICAL_READ_PER_TXN | Average number of logical reads per transaction from the buffer pool. | Count |
| DB2 | Sorts per Transaction | SORTS_PER_TXN | Average number of rows sorted per transaction. | Count |
| DB2 | Data Manipulation Statement Per Transaction | DATA_MANIPULATION_STMT_PER_TXN | Data Manipulation Language Statements per Transaction | Count |
| DB2 | SQL Statements per Transaction | SIUD_SQL_STMTS_TXN | Select/Insert/Update/Delete Statements per Transaction | Count |
| DB2 | Select Statements per Transaction | SELECT_STMTS_TXN | the number of select statements executed per transaction. | Count |
| DB2 | Transactions per Minute | TRANSACTIONS | Number of transactions processed by the system per minute. | Count |
| DB2 | Elapsed Execution Time | ELAPSED_EXEC_TIME | the elapsed time for the execution of a statement or a transaction. | Minutes |
| DB2 | Locks Held | LOCKS_HELD | the number of locks currently held by the transactions. | Count |
| DB2 | Lock Waits | LOCK_WAITS | the number of transactions waiting for a lock. | Count |
| DB2 | Lock Wait Time | LOCK_WAIT_TIME | the total amount of time that transactions waited for locks. | Milliseconds |
| DB2 | Lock List In Use | LOCK_LIST_IN_USE | the number of locks that are currently in use by the transactions. | Bytes |
| DB2 | Deadlocks | DEADLOCKS | Number of database transactions that are blocked by one another. | Count |
| DB2 | Query Key Value | QUERY_KEY_VALUE | KPI shows query data in key value pair | Text |
| DB2 | Communication Status | COMM_STATUS | The status of communication between nodes in a cluster. | Count |
| DB2 | Modified Status | MODIFIED_STATUS | File modified status in last interval | Count |
| DB2 | Exists | EXISTS | indicates whether a particular object exists or not. | Count |
| DB2 | Pattern Found | PATTERN_FOUND | Pattern availability in the given file | Count |
| DB2 | Process Running | PROCESS_RUNNING | The number of processes currently running in the system. | Count |
| DB2 | Cluster Status | CLUSTER_STATUS | the current state of the cluster (e.g. up down syncing). | Count |
| DB2 | Key Value | KEY_VALUE | Modification status of the Key Value pairs in the configured file | Text |
| DB2 | File Watch | FILE_WATCH | Monitors file changes in a directory or a specific file. | Text |
| DB2 | Established | ESTABLISHED | Number of established connections for a given port | Count |
| DB2 | Close Wait | CLOSE_WAIT | Number of close_wait connections for a given port | Count |
| DB2 | Sync Sent | SYN_SENT | Number of sync sent connections for a given port | Count |
| DB2 | Time Wait | TIME_WAIT | Number of time_wait connections for a given port | Count |
| DB2 | Fin Wait | FIN_WAIT | Number of fin_wait connections for a given port | Count |
| DB2 | Sync Receive | SYN_RCVD | Number of synchronously received messages. | Count |
| DB2 | Ping Status | PING_STATUS | IP availability based on ping | Count |
| DB2 | Established Status | ESTABLISHED_STATUS | It indicates the current status of established connections. | Count |
| DB2 | Listen Status | LISTEN_STATUS | Listen status of a port | Count |
| DB2 | Component Properties | Component_Properties | The properties of a component such as its version and configuration. | Text |
| DB2 | Last Ack | LAST_ACK | Total number of TCP connections in the LAST_ACK state | Count |
| DB2 | Long Running Queries | DB2_LONG_RUNNNING_QUERIES | Queries running for longer than 2 hours | Count |
| DB2 | Table Space Util Not Normal | DB2_TBSP_STATE_NOT_NORMAL | Number of table spaces which are in not normal state | Count |
| DB2 | Application Name | DB2_APPLICATION_NAME | Application Name | Characters |
| DB2 | Application Handle | DB2_APPLICATION_HANDLE | Application Handle | Count |
| DB2 | Application ID | DB2_APPLICATION_ID | Application ID | Characters |
| DB2 | Session Auth ID | DB2_SESSION_AUTH_ID | Session Authorization ID | Characters |
| DB2 | Statement Text | DB2_STMT_TEXT | SQL Statement Text | Characters |
| DB2 | Total CPU Time | DB2_TOTAL_CPU_MS | Total CPU Time | Count |
| DB2 | Elapsed Time | DB2_ELAPSED_TIME_SEC | The time elapsed since this activity began in seconds. The value of this column is null when an activity has entered the system but is in a queue and has not started running | Count |
| DB2 | Activity State | DB2_ACTIVITY_STATE | Activity State | Characters |
| DB2 | Activity Type | DB2_ACTIVITY_TYPE | Activity Type | Characters |
| DB2 | Connections | DB2_APP_CONN_PER_USER | Number of connections used by Users per Application | Count |
| DB2 | Agents | DB2_APP_AGENTS_PER_USER | Number of connections used by Agents per Application | Count |
| DB2 | Rollback Statements | DB2_ROLLBACK_SQL_STMTS | Rollback statements count in last minute | Count |