Query Mysql status _ MySQL

Source: Internet
Author: User
Querying Mysql status bitsCN.com

Query Mysql status

# Query Database Connection show full processlist; show status like '% Max_used_connections %'; show status like '% Threads_connected %'; # Current connections show status like '% table_lock % '; # table lock show status like 'innodb _ row_lock % '; # row lock show status like' % qcache % '; # Query cache status show variables like "% query_cache % "; show status like 'qcache % '; show variables like "% binlog %"; show status like 'aborted _ clients'; # The connection is dead because the client does not properly close the connection, dropped connections: show variables like '% max_connections %'; show variables like '% timeout %'; show variables like 'log _ % '; # Check Whether logs are started


BitsCN.com

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.