In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
To synchronize data with the database of third-party applications, put aside the third-party open source services and self-coding java implementation, and consider only from the database level:
Environmental assumptions:
The third-party database is relational database.
Our application is mysql database.
Option 1:
Generally speaking, synchronization is usually a relational database, so no matter what the third-party database is, we can ask the other party to export it into text according to the sql script style of mysql.
Execute the text locally and then synchronize it to our database.
Option 2:
If the third party is unwilling to export the text itself, then we can query the data directly from the third party database.
At this time, as long as the third party provides the user name and password to access the database.
We can make our own query and process the results in the same way as in scenario 1.
A third party can only provide a user name and password for querying only some tables (which can be achieved by controlling the permissions of the third-party database personnel).
Option 3:
The above ways of data synchronization are not timely.
If we want to synchronize in time, we provide the user name and password of the table used to read and write the database to a third party.
Once the third-party data is updated, notify and synchronize it to our database.
Solution 4: this scheme is only applicable to both databases, such as sql server or oracle, which can be synchronized directly through database link.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.