摘要: 在基于虚拟日志的数据同步中,当主库端存在对同一记录的频繁修改时,庞大的虚拟日志记录会影响整个数据同步效率。针对该问题,提出一种基于虚拟日志压缩的数据同步方案。虚拟日志压缩通过计算合并日志记录,只保留与数据同步相关的日志信息,从而减少网络数据流量,提高数据同步效率。实验结果表明,该方法适合广域网异构数据库的异步数据同步。
关键词:
异构数据库,
数据同步,
虚拟日志,
日志压缩
Abstract: In the field of data synchronization based on virtual log, Huge log records affect the efficiency of data synchronization, when the master side has frequent changes in same record. For the problem, data synchronization is proposed based on the virtual log compression. Virtual log compression is calculate and merge log records, and only those records related with data synchronization are left and therefore reducing network traffic and improve the efficiency of data synchronization. Results show that virtual log compression is particularly suitable for heterogeneous database and asynchronous data synchronization in WAN.
Key words:
heterogeneous database,
data synchronization,
virtual log,
log compression
中图分类号:
张春玲, 吕震宇, 刘遵峰. 基于虚拟日志压缩的数据同步方案[J]. 计算机工程, 2010, 36(18): 67-69.
ZHANG Chun-Ling, LV Shen-Yu, LIU Zun-Feng. Data Synchronization Solution Based on Virtual Log Compression[J]. Computer Engineering, 2010, 36(18): 67-69.