Skip to main content

IBM DB2

Overview

IBM DB2, the robust and scalable relational database management system, seamlessly integrates with Motadata AIOps to provide comprehensive monitoring and management capabilities. With this integration, organizations gain real-time visibility into the performance and health of their DB2 databases. Monitor critical database metrics such as query execution times, transaction rates, and storage utilization to ensure efficient data processing.

Supported Versions

Versions
11
12
11.5.0.1077
9.7.900.250(windows)
10.5.0.11(solaris)

Prerequisites for IBM DB2 Integration with Motadata AIOps:

  • Ensure that the IBM DB2 port (default: 50000) is open for the Motadata AIOps server.

  • Ensure you have the necessary credentials, including the username and password, for Motadata AIOps to connect to the IBM DB2 database.

  • Ensure that JDBC is supported on the server where IBM DB2 is configured.

  • For agentless monitoring, ensure that the user has the required access for remote access to the IBM DB2 database server. For agent-based monitoring, this is not required.

  • Ensure that the IBM DB2 service is active and running on the server.

  • Ensure you have the name of the IBM DB2 database that you want to monitor.

  • Confirm that the IBM DB2 process and service are listed in the process and service monitor settings of Motadata AIOps. While these may be listed by default, verify that the names of the service and process match the specific IBM DB2 version that you intend to monitor.

By following these prerequisites, you can integrate IBM DB2 with Motadata AIOps and ensure smooth functioning of the monitoring process.

List of Supported KPIs

NameDescriptionType
system.tagsThe tags associated with the Db2 system.String
db2.instance.statusThe status of the Db2 instance.String
db2.private.committed.memory.bytesThe amount of private committed memory used by Db2.Count
db2.accepted.piped.sortsThe number of piped sorts accepted by Db2.Count
db2.requested.piped.sortsThe number of piped sorts requested by Db2.Count
db2.local.connectionsThe number of local connections to Db2.Count
db2.remote.connectionsThe number of remote connections to Db2.Count
db2.active.gateway.connectionsThe number of active gateway connections in Db2.Count
db2.gateway.client.connection.waitsThe number of client connection waits in Db2 gateway.Count
db2.gateway.host.connection.waitsThe number of host connection waits in Db2 gateway.Count
db2.gateway.connectionsThe number of connections in Db2 gateway.Count
db2.executing.local.connectionsThe number of executing local connections in Db2.Count
db2.local.databases.with.current.connectsThe number of local databases with current connects in Db2.Count
db2.executing.remote.connectionsThe number of executing remote connections in Db2.Count
db2.registered.agentsThe number of registered agents in Db2.Count
db2.waiting.on.token.agentsThe number of agents waiting on tokens in Db2.Count
db2.idle.agentsThe number of idle agents in Db2.Count
db2.sort.heap.allocation.bytesThe amount of sort heap memory allocated by Db2.Count
db2.stolen.agentsThe number of stolen agents in Db2.Count
db2.pool.agentsThe number of agents in the Db2 pool.Count
db2.created.agents.empty.poolThe number of agents created when the pool is empty in Db2.Count
db2.versionThe version of Db2.String
db2.last.snapshotThe timestamp of the last Db2 snapshot.Count
db2.last.resetThe timestamp of the last Db2 reset.Count
db2.partition.numberThe number of partitions in Db2.Count
db2.nodesThe number of nodes in Db2.Count
db2.active.agentsThe number of active agents in Db2.Count
db2.sort.heap.used.percentThe percentage of sort heap memory used by Db2.Count
db2.connectionsThe number of active connections to Db2.Count
started.timeThe timestamp when Db2 was started.String
started.time.secThe number of seconds since Db2 was started.Count
db2.database.size.bytesThe size of the Db2 database in bytes.Count
db2.table.spaceDb2 table space.Count
db2.table.space.nameThe name of the Db2 table space.Count
db2.table.space.typeThe type of the Db2 table space.Count
db2.table.space.content.typeThe content type of the Db2 table space.Count
db2.table.space.createdThe creation timestamp of the Db2 table space.Count
db2.table.space.statusThe status of the Db2 table space.Count
db2.table.space.size.bytesThe size of the Db2 table space in bytes.Count
db2.table.space.used.bytesThe amount of used space in the Db2 table space in bytes.Count
db2.table.space.free.bytesThe amount of free space in the Db2 table space in bytes.Count
db2.table.space.used.percentThe percentage of used space in the Db2 table space.Count
db2.table.space.page.size.bytesThe size of a page in the Db2 table space in bytes.Count
db2.table.space.page.usable.bytesThe usable space in a page of the Db2 table space in bytes.Count
db2.table.space.containersThe number of containers in the Db2 table space.Count
db2.table.space.extent.pagesThe number of extent pages in the Db2 table space.Count
db2.table.space.prefetch.pagesThe number of prefetch pages in the Db2 table space.Count
db2.blocked.sessionsThe number of blocked Db2 sessions.Count
db2.waiting.sessionsThe number of waiting Db2 sessions.Count
db2.active.sessionsThe number of active Db2 sessions.Count
db2.sessionsThe total number of Db2 sessions.Count
correlation.metricsThe correlation metrics.String
db2.session.agent.idThe agent ID of a Db2 session.Count
db2.session.applicationThe application associated with a Db2 session.Count
db2.session.application.statusThe status of the application associated with a Db2 session.Count
db2.session.read.rowsThe number of rows read by a Db2 session.Count
db2.session.written.rowsThe number of rows written by a Db2 session.Count
db2.session.data.reads.rateThe rate of data reads by a Db2 session.Count
db2.session.index.readsThe number of index reads by a Db2 session.Count
db2.session.data.writes.rateThe rate of data writes by a Db2 session.Count
db2.session.index.writesThe number of index writes by a Db2 session.Count
db2.session.physical.read.time.msThe amount of time spent on physical reads by a Db2 session (in milliseconds).Count
db2.session.physical.write.time.msThe amount of time spent on physical writes by a Db2 session (in milliseconds).Count
db2.session.lock.heldThe number of locks held by a Db2 session.Count
db2.session.lock.waitThe number of lock waits for a Db2 session.Count
db2.session.lock.wait.time.msThe total wait time for locks in milliseconds for a Db2 session.Count
db2.session.deadlocksThe number of deadlocks encountered by a Db2 session.Count
db2.session.sortsThe number of sorts performed by a Db2 session.Count
db2.session.commit.sql.statementsThe number of SQL COMMIT statements executed by a Db2 session.Count
db2.session.rollback.sql.statementsThe number of SQL ROLLBACK statements executed by a Db2 session.Count
db2.session.deleted.rowsThe number of rows deleted by a Db2 session.Count
db2.session.inserted.rowsThe number of rows inserted by a Db2 session.Count
db2.session.updated.rowsThe number of rows updated by a Db2 session.Count
db2.session.selected.rowsThe number of rows selected by a Db2 session.Count
db2.session.timedout.locksThe number of locks that have timed out for a Db2 session.Count
db2.session.agentsThe number of agents associated with a Db2 session.Count
db2.session.cpu.time.secThe CPU time consumed by a Db2 session in seconds.Count
db2.session.statement.execution.elapsed.time.secThe elapsed time for executing SQL statements in seconds for a Db2 session.Count
db2.session.user.idThe user ID associated with a Db2 session.Count
db2.session.remote.clientThe remote client of a Db2 session.Count
db2.session.agent.idThe agent ID of a Db2 session holding a lock.Count
db2.session.applicationThe application associated with a Db2 session.Count
db2.session.table.nameThe name of the table involved in a Db2 session.Count
db2.session.lock.typeThe type of lock held by a Db2 session.Count
db2.session.lock.statusThe status of the lock held by a Db2 session.Count
db2.session.lock.modeThe mode of the lock held by a Db2 session.Count
db2.session.agent.id.holding.lockThe agent ID of the session holding the lock.Count
db2.session.lock.wait.agent.idThe agent ID of the session waiting for the lock.Count
db2.session.lock.mode.requestedThe lock mode requested by a Db2 session.Count
db2.session.lock.wait.start.timeThe start time of the lock wait for a Db2 session.Count
db2.memory.poolThe total number of Db2 memory pools.Count
db2.memory.pool.size.bytesThe size of the Db2 memory pool in bytes.Count
db2.memory.pool.used.bytesThe amount of Db2 memory pool used in bytes.Count
db2.buffer.poolThe total number of Db2 buffer pools.Count
db2.buffer.pool.hit.ratio.percentThe hit ratio percentage of the Db2 buffer pool.Count
db2.backupTotal number of Db2 backups.Count
db2.backup.idID of the Db2 backup.Count
db2.backup.statusStatus of the Db2 backup.Count
db2.backup.locationLocation of the Db2 backup.Count
db2.backup.operation.typeType of operation performed during the Db2 backup.Count
db2.backup.object.typeType of object being backed up in Db2.Count
db2.backup.table.spacesNumber of table spaces included in the Db2 backup.Count
db2.backup.table.spaceSpecific table space included in the Db2 backup.Count
db2.backup.start.timeStart time of the Db2 backup.Count
db2.backup.end.timeEnd time of the Db2 backup.Count
db2.backup.duration.secondsDuration of the Db2 backup in seconds.Count
started.time.secNumber of seconds since the database was started.Count
started.timeTime when the database was started.String
db2.db.pathFile path of the Db2 database.Count
db2.db.statusStatus of the Db2 database.Count
db2.db.aliasAlias of the Db2 database.Count
db2.db.last.backupLast backup performed on the Db2 database.Count
db2.db.locationLocation of the Db2 database.Count
db2.db.dynamic.sql.queriesNumber of dynamic SQL queries executed on the Db2 database.Count
db2.db.failed.sql.queriesNumber of failed SQL queries executed on the Db2 database.Count
db2.db.internal.commitsNumber of internal commits performed on the Db2 database.Count
db2.db.commits.rateRate of commits on the Db2 database.Count
db2.db.rollbacks.rateRate of rollbacks on the Db2 database.Count
db2.db.deadlocksNumber of deadlocks encountered in the Db2 database.Count
db2.db.ddl.sql.queries.rateRate of DDL (Data Definition Language) SQL queries on the database.Count
db2.db.internal.rollbacksNumber of internal rollbacks performed on the Db2 database.Count
db2.db.package.cache.inserts.rateRate of inserts into the Db2 package cache.Count
db2.db.package.cache.lookups.rateRate of lookups into the Db2 package cache.Count
db2.db.active.hash.joins.rateRate of active hash joins on the Db2 database.Count
db2.db.sorts.rateRate of sorts performed on the Db2 database.Count
db2.db.hash.joins.rateRate of hash joins on the Db2 database.Count
db2.db.sort.overflowsNumber of sort overflows in the Db2 database.Count
db2.db.active.olap.functionsNumber of active OLAP (Online Analytical Processing) functions.Count
db2.db.lock.list.memory.bytesAmount of memory used by the lock list in the Db2 database.Count
db2.db.active.sortsNumber of active sorts in the Db2 database.Count
db2.db.connected.applicationsNumber of currently connected applications to the Db2 database.Count
db2.db.executing.applicationsNumber of currently executing applications in the Db2 database.Count
db2.db.connectionsNumber of active connections to the Db2 database.Count
db2.db.secondary.connectionsNumber of active secondary connections to the Db2 database.Count
db2.db.package.cache.overflowsNumber of overflows in the Db2 package cache.Count
db2.db.locksNumber of locks in the Db2 database.Count
db2.db.direct.reads.rateRate of direct reads from the Db2 database.Count
db2.db.direct.reads.requests.rateRate of requests for direct reads from the Db2 database.Count
db2.db.direct.writes.rateRate of direct writes to the Db2 database.Count
db2.db.direct.writes.requests.rateRate of requests for direct writes to the Db2 database.Count
db2.db.lock.waitersNumber of lock waiters in the Db2 database.Count
db2.db.lock.escalationsNumber of lock escalations in the Db2 database.Count
db2.db.deleted.rows.rateRate of deleted rows from the Db2 database.Count
db2.db.inserted.rows.rateRate of inserted rows into the Db2 database.Count
db2.db.updated.rows.rateRate of updated rows in the Db2 database.Count
db2.db.row.reads.rateRate of row reads from the Db2 database.Count
db2.db.log.reads.rateRate of log reads from the Db2 database.Count
db2.db.log.read.ops.rateRate of log read operations in the Db2 database.Count
db2.db.log.write.ops.rateRate of log write operations in the Db2 database.Count
db2.db.free.log.space.bytesAmount of free log space in bytes in the Db2 database.Count
db2.db.used.secondary.log.filesNumber of used secondary log files in the Db2 database.Count
db2.db.used.log.space.bytesAmount of used log space in bytes in the Db2 database.Count
db2.db.exclusive.lock.escalationsNumber of exclusive lock escalations in the Db2 database.Count
db2.db.lock.waitsNumber of lock waits in the Db2 database.Count
db2.db.lock.timeoutsNumber of lock timeouts in the Db2 database.Count
db2.db.catalog.cache.inserts.rateRate of inserts into the Db2 catalog cache.Count
db2.db.catalog.cache.lookups.rateRate of lookups into the Db2 catalog cache.Count
db2.db.catalog.cache.overflowsNumber of overflows in the Db2 database catalog cache.Count
db2.db.successful.sql.queriesNumber of successful SQL queries executed in the Db2 database.Count
db2.db.unit.worksNumber of unit works in the Db2 database.Count
db2.db.package.cache.hit.ratio.percentPercentage of hits in the Db2 package cache.Count
db2.db.lock.waiting.percentPercentage of time spent waiting for locks in the Db2 database.Count
db2.db.sort.overflow.used.percentPercentage of sort overflows used in the Db2 database.Count
db2.db.log.space.bytesAmount of log space in bytes in the Db2 database.Count
db2.db.log.space.used.percentPercentage of used log space in the Db2 database.Count
db2.db.catalog.cache.hit.ratio.percentPercentage of hits in the Db2 catalog cache.Count
db2.db.lock.wait.time.msTime spent waiting for locks in the Db2 database (in milliseconds).Count
db2.db.direct.read.time.msTime taken for direct reads in the Db2 database (in milliseconds).Count
db2.db.sort.time.msTime taken for sorting in the Db2 database (in milliseconds).Count
db2.db.index.page.hit.ratio.percentPercentage of hits in the Db2 index page cache.Count
db2.db.data.page.hit.ratio.percentPercentage of hits in the Db2 data page cache.Count
db2.db.database.buffer.pool.hit.ratio.percentPercentage of hits in the Db2 database buffer pool.Count
db2.db.direct.write.time.msTime taken for direct writes in the Db2 database (in milliseconds).Count
db2.db.direct.write.request.time.msTime taken for direct write requests in the Db2 database (in milliseconds).Count
db2.db.direct.read.request.time.msTime taken for direct read requests in the Db2 database (in milliseconds).Count
db2.db.select.sql.queries.rateRate of select SQL queries executed in the Db2 database.Count
db2.db.log.writes.rateRate of log writes in the Db2 database.Count