MySQL Performance: Identifying Long Queries

Опубликовано: 20 Октябрь 2020
на канале: Liquid Web
2,937
18

In this video, we demonstrate how to identify long-running MySQL queries.

Commands used:
mysqladmin -u root -p proc stat
mysql -u root -p
show full processlist;

vim /etc/my.cnf
slow_query_log=1
slow_query_log_file=/var/lib/mysql/slowquery.log
long_query_time=5

mysqldumpslow /var/lib/mysql/slowquery.log

The related article for this video can be found here: https://www.liquidweb.com/kb/mysql-pe...

For more information about this and other topics, visit us at https://www.liquidweb.com/kb/ or for more information on our Private Cloud Powered by VMware and NetApp visit: https://www.liquidweb.com/products/pr....

Video by: Justin Palmer


Смотрите видео MySQL Performance: Identifying Long Queries онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Liquid Web 20 Октябрь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2,937 раз и оно понравилось 18 людям.