| eG Monitoring |
|---|
Measures reported by MariaLockTest MariaDB enables client sessions to acquire table locks explicitly for the purpose of cooperating with other sessions for access to tables, or to prevent other sessions from modifying tables during periods when a session requires exclusive access to them. A session can acquire or release locks only for itself. One session cannot acquire locks for another session or release locks held by another session. Locks may be used to emulate transactions or to get more speed when updating tables. Sometimes, in an attempt to release locks for compatible requests, Maria Database server may end up increasing the lock wait times for certain incompatible requests. Some other times, certain long-running operations can cause the length of the queue to increase along with the waiting time for locks. Long lock wait times can adversely impact application performance. This is why, administrators will have to keep an eye on the locking activity on a Maria Database server, determine whether/not requests are waiting too long for locks. This will enable administrators to quickly diagnose why the requests are taking too long to acquire a lock and resolve the bottleneck. The MariaLockTest test helps administrators achieve this. This test reports the rate at which locks of that type were acquired, the percentage of requests that were waiting for locks and the number of times a table lock could not be acquired by the requests. With this information, administrators can easily figure out if the lock wait time is prolonged and troubleshoot the long wait times. Outputs of the test : One set of results for the Maria database server being monitored.
|