Maria Wait Events Type Test
MariaDB wait event types include Lock (waiting for row/table locks), IO (disk or network input/output delays), CPU (waiting for processing time), and Concurrency (threads or connections contention). These types help pinpoint the exact resource causing query delays, enabling efficient performance tuning and system optimization based on where sessions are stuck.
Monitoring MariaDB wait event types helps pinpoint resource bottlenecks like locks, I/O delays, or CPU contention. Understanding these wait sources enables targeted performance tuning, improves query efficiency, and ensures the database runs smoothly under load or high concurrency.
The Maria Wait Event Type Test monitors the session wait events and collects metrics like number of waits, total wait time and average and percentage wait time etc. These metrics help administrators understand the performance implications of wait events and take preventive actions before the database performance drops.
Target of the test : A Maria Database server
Agent deploying the test : An internal/remote agent
Outputs of the test : One set of results for the Maria Database server being monitored
| Parameter | Description |
|---|---|
|
Test Period |
How often should the test be executed. |
|
Host |
The IP address of the Maria Database server. |
|
Port |
The port on which the server is listening |
|
Database |
Specify the name of the database that is to be monitored on the target Maria Database server |
|
User and Password |
The eG agent has to be configured with the credentials of a user who has server-wide PROCESS and SELECT privileges on the monitored Maria Database server. To know how to create such a user, refer to Configuring the eG Agent with Access Privileges |
|
Confirm Password |
Confirm the password by retyping it here. |
|
SSL |
This indicates that the eG agent will communicate with the Maria Database via HTTPS or not. By default, this flag is set to No, as the target Maria database is not SSL-enabled by default. If the target database is SSL-enabled, then set this flag to Yes. |
|
Verify CA |
If the eG agent is required to establish an encrypted connection with the target Maria Database server by authenticating the server's identity through verifying the server CA certificate, set Verify CA flag to Yes. By default, this flag is set to No. |
| Measurement | Description | Measurement Unit | Interpretation |
|---|---|---|---|
|
Number of waits |
Indicates the total number of wait events of different types occurred during the operation of the database server. |
Number |
This is good measure of performance of the database server, if the number of wait sessions is high, it means the queries are waiting on something which help understand the slowness of overall database performance. |
|
Total wait time |
Indicate the total wait time including all wait types. |
Sec |
|
|
Average wait time |
Indicates the average wait time across all wait types and wait events . |
Sec |
If the average waiting time is very high it means that database each session has to wait before getting access to resources. You need to update the resource availability like I/O buses, CPU capacity and system memory etc. |
|
Percentage of wait time |
Indicates the total wait time as a percentage of time of operation of the the database server. |
Percentage |
If the percentage of wait is high it means the performance of the server is sub optimal as it is spending most of its time in waiting state. |