Design ideas for incremental update of cloud platform data

Source: Internet
Author: User

1. Use mysqldump for incremental file backup


2. How to call mysqldump using Java?
http://cnhnslhs-163-com.iteye.com/blog/1774508
http://blog.csdn.net/icejadelove/article/details/4966317

3, the generated is a file, the return is OK and file path, and then C # to download the file and perform import action.

4, after the successful download to the server to launch an instruction, let it delete this file, to prevent the disk too much.


5, according to the range of TS to regenerate ssdb warm-up information, discard the index update, so that the full amount of daily updates to work.
6, Time: recommended every night after 12 o'clock, every day before 6 points

That is: 0,1,2,3,4,5 a total of 6 hours. 6*60=360 minutes, recommended handler

ABCDEFG ". GetHashCode (). ToString ("D10") produces a number of 10 and then divides by 300 to take the remainder, which is the elapsed time from 0 o'clock to the N and prevents multiple clients from initiating the server simultaneously.
Request

Design ideas for incremental update of cloud platform data

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.