This blog post, will be just a simple record, our database operation and use, add index not up, analysis of the process, is actually relatively simple, is to see whether the connection process is still in the Operation table. If there is, stop it
This blog post, will be just a simple record, our database operation and use, add index not up, analysis of the process, is actually relatively simple, is to see whether the connection process is still in the Operation table. If there is, stop it
1. Enter the Mysqladmin processlist into the Mysql/bin catalogue;
2. Start MySQL, enter show Processlist;
If you have SUPER permissions, you can see all of the threads, otherwise you can only see the thread that you originated (this is the current
The output of the Processlist command shows which threads are running, not only the current number of connections, but also the current connection status to help identify problematic query statements.If it is the root account, you can see the
Mysqladmin showprocesslist can view full SQL requires permissions.Show Processlist shows which threads are running. You can also use the Mysqladmin processlist statement to get this information . If you have super privileges, you can see all the
1. Enter Mysqladmin processlist into the Mysql/bin directory;2. Start MySQL and enter show Processlist;If you have SUPER privileges, you can see all the threads, otherwise you will only see the thread that you initiated (this is the thread that the
Today to work routine to check the health of the server, the Discovery Server Special card, is mysqld this process consumes CPU to 99% caused.More curious is that the program in the use of MySQL caused the CPU so high, through the show processlist
Original source: MySQL 5.5 Reference ManualPart of the translation: "mysql_5.1 Chinese reference Manual"Reprint please specify the original link http://www.cnblogs.com/lenagt/archive/2012/06/06/2538201.html Thank you.---------------------------------
in MySQL show variables where variable_name like '%auto% ' this statement can execute normally, but show processlist where Host like '%192% ' will error: error Code:1064you has an error in your SQL syntax; Check the manual-corresponds to your
System LockShow processlistStatus entries in Show Processlist output: 5.1 None of the manuals, or the translation of the problem, are accompanied by 5.5 original description:After createThis occurs when the thread creates a table (including internal
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.