Apple SequelPro-MySQL client Tool

Source: Internet
Author: User
Software name: SequelPro (MySQL client tool) official website address: www.sequelpro.com this tool will generate a bad SQL statement when exporting table data :*! 40000ALTERTABLE 'sbtest' DISABL

Software name: SequelPro (MySQL client tool) official website address: http://www.sequelpro.com/when this tool is used to export table data, it will contain an awkward SQL :/*! 40000ALTERTABLE 'sbtest' DISABL

Software name: Sequel Pro (MySQL client tool)
Official website address:


When exporting table data, this tool generates a bad SQL statement:

/*! 40000 alter table 'sbtest' disable keys */;

This SQL statement is used for batch insert of MyISAM engine. To speed up the insert, the ALTER TABLE t1 DISABLE KEYS; statement is added to DISABLE the index. There is a certain risk because after the insert is complete, execute alter table t1 enable keys; to ENABLE the index. Enabling the index here is equivalent to rebuilding the index, which is time-consuming and locks the TABLE. This function should be disabled.

Because the InnoDB engine uses memory-Type Buffer writes, It is designed differently from the MyISAM engine and is not affected.


The following is a test:



This article is from the "hechun's technical column" blog. Be sure to keep this source

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.