| eG Monitoring |
|---|
Measures reported by MongoTransTest Rollbacks are expensive operations and will have to be avoided at all costs. Using the MongoTransTest test, administrators can be instantly alerted if more than a permissible number of rollbacks are happening on a target MongoDB server. In addition, the test monitors transaction checkpoints. A checkpoint acts as a recovery point for an operation. When a transaction attempts to modify the data in a data file, MongoDB presents an in-memory snapshot/copy of that data and allows changes to be made to that data. While writing the data in the snapshots to the disk, MongoDB creates restoration points between the snapshots, called checkpoints. If these checkpoints are not created frequently, it only means that data is not written to the disk regularly; this increases the risk of data loss during recovery. To avoid this, administrators can use the MongoTransTest test to monitor the time taken for creating the most recent checkpoint and thus, quickly detect delays in check point creation or writing to disk. Outputs of the test : One set of results for the MongoDB server monitored. The measures made by this test are as follows:
|