We now offer built-in functionality to monitor your server and application’s performance by analyzing several metrics and statistics within the Cloudways Platform instead of going for a paid monitoring tool(s). These valuable insights offer great value when it comes to keeping track of your server and application’s health. It can also help you to diagnose and forecast any server and application-level issues so they can be fixed timely.
This knowledgebase article tends to focus on checking one of that server-level metric, which is Database connections. A database connection is a network connection that allows the client software to communicate with the database software on the same machine or not. A database connection is needed to send and receive commands and answers in the result set.
Visiting the Server Monitoring Section
The following steps will help you visit the server monitoring section where you can check the database connections.
Log in to Cloudways Platform, then click on the Servers tab from the top menu bar, and choose your target server.
In the Server Management menu, select Monitoring.
Here, the Summary and Details tabs are the most important because that is where all the server resources utilization statistics and graphs are located.
Database Monitoring Section
Visit the Details tab and select MySQL connections from the dropdown to view the database connections. You can also choose the duration to filter the statistics.
If you see no data available warning, then it means that no data is available on your selected time stamp, so you may consider changing the duration (e.g., last seven days).
Here, X-Axis represents the time whereas, Y-Axis represents the connections. These are interactive graphs so you can hover your cursor over to any coordinates to read the specific information at that given instant.
You have learned how to check the database connections of a server. If the graph is consistently above 125, then you may increase the maximum connections limit.