MySQL 多线程复制
2017-11-27
多线程复制解决的问题
- sql线程复制延迟
- 利用机器的多核性能
多线程复制
while(!killed)
do
Read(E)/*E is replication event*/
Terminate(/*untile condition met*/)
or
Skip(E)
or
Execute(E);
if(E is the last in its group)
update(rli info);
done
2017-11-27
while(!killed)
do
Read(E)/*E is replication event*/
Terminate(/*untile condition met*/)
or
Skip(E)
or
Execute(E);
if(E is the last in its group)
update(rli info);
done