How and by what it is possible to monitor and evaluate the work of the MySQL database, in particular, which SQL queries go most often and in what time they are executed?

    1 answer 1

    You can track SQL queries in MySQL by turning on logging. To enable logging, start mysqld with the options --log[=имя_файла] or -l [имя_файла] . And already having a log, you can build statistics to estimate the time and frequency of various requests.