作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2010, Vol. 36 ›› Issue (18): 67-69. doi: 10.3969/j.issn.1000-3428.2010.18.024

• 软件技术与数据库 • 上一篇    下一篇

基于虚拟日志压缩的数据同步方案

张春玲a,吕震宇a,刘遵峰b   

  1. (河北理工大学 a. 经济管理学院;b. 学生处,河北 唐山 063009)
  • 出版日期:2010-09-20 发布日期:2010-09-30
  • 作者简介:张春玲(1975-),女,副教授、硕士,主研方向:数据库技术,电子商务;吕震宇、刘遵峰,副教授、硕士
  • 基金资助:
    唐山市重点实验室基金资助项目(06360301A-10)

Data Synchronization Solution Based on Virtual Log Compression

ZHANG Chun-linga, LV Zhen-yua, LIU Zun-fengb   

  1. (a. College of Economics and Management; b. Student Affairs Office, Hebei Polytechnic University, Tangshan 063009, China)
  • Online:2010-09-20 Published:2010-09-30

摘要: 在基于虚拟日志的数据同步中,当主库端存在对同一记录的频繁修改时,庞大的虚拟日志记录会影响整个数据同步效率。针对该问题,提出一种基于虚拟日志压缩的数据同步方案。虚拟日志压缩通过计算合并日志记录,只保留与数据同步相关的日志信息,从而减少网络数据流量,提高数据同步效率。实验结果表明,该方法适合广域网异构数据库的异步数据同步。

关键词: 异构数据库, 数据同步, 虚拟日志, 日志压缩

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

中图分类号: