Real-time MySQL monitoring

I was wondering if there is a tool that I can control MySQL database data in real time using PHP?

I am currently using the Ajax call to check the database for any updates every few seconds, but I assume that this is not true when I have more users, as this puts a lot of pressure on the server.

** Just add a note that I really want to show data on my website written in PHP, so it would be useful to know what is the best way to integrate other tools to achieve this.

+6
source share
4 answers

PHP is not the best for real-time monitoring, since it is (usually) transaction-based (HTTP).

There is a free open-source Java program called the Mysql Monitor Tool, which can track MySQL (or several) databases in real time:

http://sourceforge.net/projects/mysqlmt/

Screen shot

+11
source

I am using JET Profiler: http://www.jetprofiler.com/

It also has a free version.

+2
source

Mysql Workbench also has a server monitoring feature. It shows basically most of the things you need to know in real time.

To open it, open a connection to the database, go to the "Server" tab, and then "Server Status".

+1
source

As Petah mentioned: PHP is not the best for real-time monitoring, since it is (usually) transaction-based (HTTP).

I am using the Monyog tool, which has a real-time monitoring function with some other functions.

0
source

Source: https://habr.com/ru/post/920042/


All Articles