In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Mysql sqlserver bidirectional synchronization
You encounter a pit when using sqlserver to connect to the server (without going into details), so use the following alternative.
Reference:
The solution of real-time synchronization of mysql to mssql
Https:// × × w.cnblogs.com/liweis/p/4749961.html
DataX Alibaba Group's offline data synchronization tool / platform (efficient data synchronization between various heterogeneous data sources).
Home page https://github.com/alibaba/DataX
Introduction to https://github.com/alibaba/DataX/blob/master/introduction.md
Support Data Channels (click to read or write will have specific instructions) https://github.com/alibaba/DataX
Quick Start https://github.com/alibaba/DataX/blob/master/userGuid.md
Configure the database on both sides:
Create a new table with the same structure as the synchronous table, add a column of OpType, a column of CTimes (default is the current time), and a column of operation status status (0 not operated, 1 has already operated) use different triggers to write the corresponding values to the OpType column (I for insert record, U for modify record, D for delete record)
PS:DataX cannot physically delete all the logic in the stored procedure
Use DataX synchronization, use CTime in where to distinguish what needs to be synchronized, and then complete the logic in the stored procedure
DataX uses notes
If there is a trigger on the table that executes with the write, execution means that if there is an error, it may also be in the trigger, but the error message does not indicate that the error occurred at that step.
After a period of development, I found that I still need to write a lot of code and cannot be physically deleted, so I chose not to continue. I found a good open source software called SymmetricDS, which is currently under development.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.