IBM Books

Internal Commits


Snapshot Information Level
Database
Application

API Structure(s)
sqlm_dbase
sqlm_appl

Monitor Group
Basic
Basic

Resettable

Yes

 

Event Information Level
Database
Connection

API Structure(s)
sqlm_db_event
sqlm_conn_event

 

API Element Name
Element Type

int_commits
counter

 

Description:  The total number of commits initiated internally by the database manager.

Usage:  An internal commit occurs when any of the following successfully complete:

This value, which does not include explicit SQL COMMIT statements, represents the number of these internal commits since the later of:

You can use this element to calculate the total number of units of work by calculating the sum of the following:

   commit statements attempted
 + internal commits
 + rollback statements attempted
 + internal rollbacks
Note:The units of work calculated will only include those since the later of:
  • The connection to the database (for database-level information, this is the time of the first connection)
  • The last reset of the database monitor counters.

This calculation can be done at the application or the database level.

[ Top of Page | Table of Contents | Glossary | Index ]

[ DB2 List of Books | Search the DB2 Books ]