当前位置:网站首页>Data synchronization
Data synchronization
2022-06-26 00:44:00 【bingoabin】
1. Application scenarios
- Business data has developed to a certain level , Most of the hot and cold data need to be transferred from the familiar DB Migrate to other storage for complex queries and analysis
- After the sub-library sub-table , Some report class queries cannot work , It needs to be summarized to a single database table for operation
- The sub database and sub table have multiple dimensions , Need to copy multiple copies of data to achieve redundancy
- Through pseudo data sharing ( There's no way to introduce MQ、 Cannot share library table ) Business transformation
- Slow storage –>Cache Synchronization between
- Live data migration /scheme change
- Import data import data
A lot of times ,DataBus What is provided is just a tool set . To complete the final function , Most need to introduce other components , Such as MQ、JOB And so on . meanwhile , Most data synchronization tools need to have standard database support . therefore , Before you get busy synchronizing data , It is necessary to conduct a centralized data governance on the legacy data .
General data synchronization , You can apply driver double write : The application layer writes data to the database or multiple stores at the same time . Because the code is in your own hands , This approach is intuitively simple and controllable . But the consistency problem it introduces will be a very big reduction , Because there is no complex coordination agreement ( For example, a two-phase submission agreement or paxos Algorithm ), When something goes wrong , It is difficult to ensure that multiple stores are in the same locked state . Both systems need to perform exactly the same write operation , And complete the serialization in the same order . If the write operation is conditional or has partially updated semantics , Then things will become more troublesome .
Based on database logs : Use the database as the only real data source , And extract the changes from the transaction or commit log . This solves the consistency problem , But it's hard to achieve ,MySQL Such databases have proprietary transaction log formats and replication redundancy solutions , It is difficult to guarantee the availability of the upgraded version . Because the solution is to deal with data changes initiated by application code &
边栏推荐
- No executorfactory found to execute the application
- Solution to component stele in SMT chip processing
- Performance leads the cloud native database market! Intel and Tencent jointly build cloud technology ecology
- Resolve thread concurrency security issues
- Why do we need to make panels and edges in PCB production
- 鼠标拖拽围绕某个物体旋转展示
- Darkent2ncnn error
- Correct writing methods of case, number and punctuation in Chinese and English papers
- DPVS fullnat mode management
- CaMKIIa和GCaMP6f是一样的嘛?
猜你喜欢

基于OpenVINOTM开发套件“无缝”部署PaddleNLP模型

CaMKIIa和GCaMP6f是一样的嘛?

Display unassigned virtual address after easyconnect connection

机器视觉:照亮“智”造新“视”界

What is micro service

Ssl/tls, symmetric and asymmetric encryption, and tlsv1.3

Permission design = function permission + Data permission

删库跑路、“投毒”、改协议,开源有哪几大红线千万不能踩?

【超能云终端创领先机】如何在48小时内交付一座方舱医院?

CaMKIIa和GCaMP6f是一樣的嘛?
随机推荐
Explanation of chip processing manufacturer__ What is ICT? What is the main test? Advantages and disadvantages of ICT testing?
Farsync simple test
STL tutorial 5-basic concepts of STL and the use of string and vector
Should group by be used whenever aggregate functions are used in SQL?
What is micro service
从进程的角度来解释 输入URL后浏览器会发生什么?
Megacli common command collation
信号处理函数内必须使用可重入函数
Law and self-regulation in the meta universe
Solution to component stele in SMT chip processing
Datetimeformatter and localdatetime
flink报错:No ExecutorFactory found to execute the application
防抖和节流
Learn to identify follow-up questions in dialogue Q & A
idea设置mapper映射文件的模板
jarvisoj_level2_x64
Qt之自定义带游标的QSlider
SQL中只要用到聚合函数就一定要用到group by 吗?
How to design the product roadmap?
Send mail tool class