MySQL uses show status to view the status of the MySQL server, statusmysql
During website development in the LAMP architecture, we sometimes need to know the MySQL server status information, such as the running time after MySQL is started and the
In the lamp architecture of the Web site development process, sometimes we need to understand the MySQL server status information, such as the current MySQL startup run time , the current MySQL client session connections , the current MySQL server
mysql> show global status; Can list MySQL server running various status values, my personal preferred usage is show status like ' query value% '; One, slow query mysql> show variables like '%slow% '; +------------------+-------+ | variable_name
In the lamp structure of the Web site development process, sometimes we need to understand the MySQL server status information, such as the current MySQL startup running time, the current MySQL client session connection number, the current MySQL
The company's Nagios monitoring Server long-term internal network with the MySQL database issued ctritical alarm, because I will other colleagues of the mobile phone SMS alarm also opened, make the whole system team colleagues are complaining (hehe)
Table of Contents
MySQL Show Status-open database connections
MySQL Show Processlist
MySQL Show Status-summary
MySQL "Show status" Faq:can you demonstrate the MySQL show statuscommand to show MySQL variables and Status
First, let's look at the basics of the SHOW INNODB STATUS output, which prints a lot of counters, statistics, transactional information about INNODB internal performance. In MySQL 5, the performance statistics of InnoDB are also shown in the show
Show [Global | session] status [like ' xxx '];Global option to view all MySQL connection statusSession options, view current connection status, default session optionFlush status; You can reset many status values to zero.Get the total number of
Mysql monitoring methods are roughly divided into two categories: 1. connect to the mysql database and use showstatus, showvariables, and flushstatus to view various mysql performance indicators. 2. directly use mysqladmin to view its performance
There are many articles on the Internet that teach you how to configure a MySQL server. However, considering the differences in server hardware configurations and specific applications, the practices in these articles can only be used as a reference
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.