|
Measures reported by IBMDb2LogSpaceTest
DB2 UDB database writes log files called transaction log to record all changes to application data in the database. During transactions, modifications to the database by each transaction is serially recorded in the transaction log. Using this information, the DBA can track which transaction made which changes to DB2 UDB Server data. Mainly, Db2 uses transaction logs to restore previosly committed changes and to undo the changes that were not committed when performing crash or roll forward recovery. Lack of adequate space in the transaction log would have serious repercussions on the way the DB2 UDB server carries out database updations; sometimes, critical changes to the database could get lost due to a space crunch. The IBMDb2LogSpaceTest test enables administrators to constantly track the space consumption by the transaction log, so that administrators are instantly notified of inadequacies, and are prompted to act fast.
Outputs of the test : One set of results for each DB2 UDB server being monitored
The measures made by this test are as follows:
| Measurement |
Description |
Measurement Unit |
Interpretation |
| MaxLogUsed |
Indicates the amount of maximum log space that is currently being used. |
GB |
If the value of this measure keeps growing, it indicates that the log is growing rapidly and may soon run out of space! In such cases, you should clear the transaction log to ensure that there is adequate space to log subsequent transactions. |
| CurrentlyUsedSpace |
Indicates the amount of transaction log space that is currently in use. |
GB |
Ideally, this value should be low. A high value for this measure requires immediate attention, as it indicates that the transaction log is suffering from severe space constraints. There is hence the danger of subsequent database modifications going unrecorded. Typically, excessive space usage can be attributed to too many changes been written to the log, but very little/none to the database. Further diagnosis can alone reveal the root-cause of this deviant behavior. |
| TotalFreeSpace |
Indicates the amount of log space that is currently available for use in this database. |
GB |
Ideally, the value of this measure should be high. |
| UsedPercentage |
Indicates the percentage of transaction log space that is currently in use. |
Percent |
The value of this measure is calculated using the following formula:
UsedPercentage = CurrentlyUsedSpace / MaxLogUsed. |
|