How to synchronize field information in different databases and tables? Mysql

Source: Internet
Author: User
How to synchronize field information in different databases and tables? Mysql synchronizes the user personal information of two programs. Is there any good Convenience? 1. when adding the program, write 2 at the same time, besides this, when I modify it, are there any differences between the table and the Field Definitions? one program in the table is discuz, and the other is kppw? I think this is the case. encapsulate a synchronization class, the modification method is called During modification. how does one synchronize fields in different databases and tables during multi-table synchronization? Mysql
Is it convenient to synchronize the user personal information of two programs?
1. when added, both write
2. modified at the same time
Besides this?
Different tables
Field definitions are not all in the same table.
A program is discuz
The other is kppw.

------ Solution --------------------
I think this should be the case. encapsulate a synchronization class and call the modification method when modifying it to perform SQL operations for multi-table synchronization.
------ Solution --------------------
Such a business depends on your own business needs. if you need real-time update, you cannot update the business in real time. if not, you can update the business in different time intervals.

It is recommended that you synchronize updates and update updates in real time. the efficiency will certainly be affected when concurrency is high.

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.