MySQL migration's huge data volume rapid migration solution

Source: Internet
Author: User

MySQL migration huge amount of data fast migration solution-incremental backup and recovery

--chenjianwen

First, preface:

When MySQL library size reaches dozens of g or hundreds of G, migrating up is a very troublesome thing, business interruption, export import time consuming a lot, so, need to consider how to save time.

Second, the programme:

1. Make maintenance time, interrupt business, log in to MySQL, refresh log

2. Full data, after backup to get binlog log file mysql-bin.000001

3. Migrate the Binlog log file before leaving, leaving only mysql-bin.000001

4. Recovery of Business

5. Import full-size SQL Big data files into a new library "time consuming"

6. Establish the official migration time, stop the business

7. Obtain the data for the period increment through the current mysql-bin.000001 Mysql-000001.sql

8. Import Mysql-000001.sql directly into the new library

9. Modify the business connection MySQL configuration, start the service

Third, the advantages

1. Significantly reduces the time required to import new libraries, which translates into less time for business disruption

Iv. Detailed Implementation steps

1.

MySQL migration's huge data volume rapid migration solution

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.