期刊文献+

基于变化数据捕获机制的分布式缓存一致性策略 被引量:2

Distributed Cache Coherency Strategy Based on Change Data Capture Mechanism
在线阅读 下载PDF
导出
摘要 分布式缓存被广泛应用于解决传统关系型数据库的性能瓶颈问题,但是当不能感知分布式缓存的第三方应用直接更新后台数据库时,缓存数据会获得不一致的状态,存在过时缓存问题.本文提出一种基于变化数据捕获机制的分布式缓存一致性策略,集成了基于触发器和基于日志的两种变化数据捕获机制实时捕获后台数据库更新,实现了数据模型自动转换方法和SQL翻译引擎,实时更新缓存,从而保障分布式缓存的一致性.实验模拟TPC-W测试基准中的关键操作,验证了基于日志的变化数据捕获机制相比基于触发器的变化数据捕获机制有更好的数据库性能和缓存一致性效果. Distributed cache is widely used to solve the performance bottleneck problem in traditional relational database, but when third-party applications that are not cache-aware update the back-end database, the distributed cache will end up in an inconsistent state, which has the problem of stale cache data. This paper proposes a distributed cache consistency strategy based on change data capture mechanism. The work integrates trigger-based and log-based change data capture mechanism that can get the real-time data from backend database, and implements data model transformation and SQL translation engine, which can update cache in real-time to guarantee distributed cache coherence. The experiment simulates the key operation in TPC-W benchmark, which verifies that the change data capture based on log has the better database performance and cache consistency effects compared with the change data capture based on trigger.
出处 《计算机系统应用》 2016年第12期149-154,共6页 Computer Systems & Applications
关键词 分布式缓存 变化数据捕获 模型转换 SQL翻译 distributed cache change data capture model transforming SQL translation
  • 相关文献

参考文献2

二级参考文献19

  • 1陆剑峰,张浩.数据仓库数据更新的研究及基于Oracle数据库的开发与应用[J].计算机工程与应用,2004,40(26):168-170. 被引量:14
  • 2章水鑫,徐宏炳,于立.增量式ETL工具的研究与实现[J].现代计算机,2005,11(3):6-10. 被引量:20
  • 3尤玉林,张宪民.一种可靠的数据仓库中ETL策略与架构设计[J].计算机工程与应用,2005,41(10):172-174. 被引量:46
  • 4CHO J, GARCIA - MOLIINO H. Synchronizing a database to improve freshness [ C ]//Proc of the ACM SIG- MOD International Conference on Management of Data. [S.l. ]:[s. n. ] ,2000:586 -603.
  • 5MICHELE B, CARMEN T. Incremental data warehouse updates [J]. DM Review, 1998 ( 5 ) : 236 - 350.
  • 6许力,马瑞新.基于快照比对的增量数据捕获研究与实现[C]//第3届全国信息检索与内容安全学术会议论文集.[S.l.]:[s.n.],2007:473-480.
  • 7郑祥云 张娟 葛文庚.数据库同步中差异数据捕获方案设计与实现.电脑知识与技术,2008,(7):68-70.
  • 8PAULRAI P. Data warehousing fund amentals:a comprehensive guide for IT professionals [ M ]. [ S.l. ]: McGraw- Hill Companies Inc,2001:236-252.
  • 9郭一忠.异构数据源下变动数据捕获技术的研究[D].厦门:厦门大学图书馆,2008.
  • 10[1]S Brobst,J Rarey.The five stages of an active data warehouse evolution.Teradata Magazine,2001,3(1):38-44

共引文献17

同被引文献18

引证文献2

二级引证文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部