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

计算机工程 ›› 2008, Vol. 34 ›› Issue (22): 46-48. doi: 10.3969/j.issn.1000-3428.2008.22.016

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

基于Oracle DCN的缓存一致性技术

张 璞   

  1. (重庆邮电大学计算机学院,重庆 400065)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2008-11-20 发布日期:2008-11-20

Cache Consistency Technology Based on Oracle DCN

ZHANG Pu   

  1. (College of Computer, Chongqing University of Posts and Telecommunications, Chongqing 400065)
  • Received:1900-01-01 Revised:1900-01-01 Online:2008-11-20 Published:2008-11-20

摘要: 针对J2EE多层架构应用中的缓存一致性问题,提出一个利用Oracle数据库更改通知(DCN)机制维护缓存一致性的方案,以分销资源计划系统为例,在中间层通过应用Java缓存系统来存储系统中频繁存取的数据库结果集,在数据层利用DCN机制维护缓存一致性,论述了相关实现技术。应用结果表明,该方案是有效和可行的。

关键词: 缓存一致性, Java缓存系统, 数据库更改通知

Abstract: To the question of cache consistency problem in J2EE multi-tier application, the mechanism of maintaining cache consistency by using Oracle Data Change Notification(DCN) is proposed. It takes distribution resource planning system as an example, uses Java Caching System(JCS) in middle tier to cache database query results that are frequently accessed, and utilizes DCN in data layer to maintain cache consistency. The implementation technology is discussed. The case proves that the scheme is effective and feasible.

Key words: cache consistency, Java Caching System(JCS), Database Change Notification(DCN)

中图分类号: