Navicat MySQL Export data in bulk INSERT form

Source: Internet
Author: User
Tags bulk insert

This is the advanced settings for MySQL same server type data transfer

When you select a database, right-click Dump SQL file the default export record format is a strip of the "full insert statement" in the following format

INSERT  into' User ' (' ID number ', ' username ', ' age ')VALUES('1','Liang Mingjie',' at');INSERT  into' User ' (' ID number ', ' username ', ' age ')VALUES('2','Herman Ann',' About'); INSERT  into' User ' (' ID number ', ' username ', ' age ')VALUES('0','Xu Qin',' at');

This format guarantees compatibility, but it sacrifices performance. The server uses the source import, simply turtle speed.

This can be a lot quicker if you export the following format:

INSERT  into' User 'VALUES('1','Liang Mingjie',' at'), ('2','Herman Ann',' About'), ('0','Xu Qin',' at');

This format is called the "extended INSERT statement" using the following,

When the database is selected, right-"data transfer"-Select Export as File

Click "Advanced"-tick "insert statement with extensions" (You can also tick "use transaction" if necessary)

Navicat MySQL Export data in bulk INSERT form

Related Article

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.