首页 | 本学科首页   官方微博 | 高级检索  
     

移动数据库缓存模型研究
引用本文:翁唱玲,杨清.移动数据库缓存模型研究[J].计算机应用,2013,33(11):3267-3270.
作者姓名:翁唱玲  杨清
作者单位:1. 湖南科技大学 计算机科学与工程学院,湖南 湘潭 4112012. 湖南科技大学 网络中心,湖南 湘潭 411201
基金项目:湖南省教育厅重点科学研究项目;湖南省科技计划项目
摘    要:针对移动数据库系统性能有待提高的问题,提出了一种移动数据库缓存模型。采用基于消息摘要的同步算法,通过比较移动客户端与服务器消息摘要表中的消息摘要值,完成缓存同步,维护移动客户端缓存与服务器数据的一致性;该模型还考虑了数据的时效性与事务的优先级,设计了一种基于价值函数的缓存替换算法。实验结果表明,随着缓存数据个数的增加,所提算法的缓存命中率高于最近最少使用(LRU)和LA2U算法,同时随着访问频率的增加,事务的重启率低于LRU和LA2U,有效提高了移动数据库缓存的性能。

关 键 词:移动数据库  缓存同步  缓存替换  一致性  数据有效性  
收稿时间:2013-05-16
修稿时间:2013-08-07

Research on cache model in mobile database
WENG Changling YANG Qing.Research on cache model in mobile database[J].journal of Computer Applications,2013,33(11):3267-3270.
Authors:WENG Changling YANG Qing
Affiliation:1. School of Computer Science and Engineering,Hunan University of Science and Technology, Xiangtan Hunan 411201, China;2. Network Center, Hunan University of Science and Technology, Xiangtan Hunan 411201, China
Abstract:To improve the performance of mobile database system, a cache model was proposed for mobile database. A kind of synchronization algorithm based on message digest was used in this model. By comparing the value of message digest in mobile client and server, the algorithm completed the cache synchronization, and maintained the consistency of mobile client cache and the data in server. The timeliness of the data and the priority of the transaction were considered in this model. A cache replacement algorithm based on cost function was designed. The experimental results show that the cache hit rate of the proposed algorithm is higher than Least Recently Used (LRU) and Least Access-to-Update Ratio (LA2U) algorithm along with the increase of the number of cache data. At the same time, the restart rate of transaction is lower than LRU and LA2U while the frequency of access increases. The performance of the cache of mobile database is improved.
Keywords:mobile database                                                                                                                          cache synchronization                                                                                                                          cache replacement                                                                                                                          coherence                                                                                                                          data validity
点击此处可从《计算机应用》浏览原始摘要信息
点击此处可从《计算机应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号