Show engine InnoDB status display information not all how to solve _mysql

Source: Internet
Author: User
Tags mysql client
question :
When performing the show engine InnoDB Status\g, the information displayed is not complete, deadlock information is too much, the back is gone
Reason:
This is a bug:bug#19825 of the MySQL client, with the interactive client limiting the maximum output to 64KB, so more information cannot be displayed.

Solution :
There are two ways to fix this:
1. Enable Innodb_status_file
Modify MY.CNF to add a line similar to the following
Innodb_status_file = 1
It's OK.

2. Enable Innodb_monitor
Mysqld Online Runtime, create a innodb_monitor table, you can record the relevant information to the log file
Mysql> CREATE TABLE innodb_monitor (id int) engine = InnoDB;
The relevant information is exported to the. Err log file.

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.