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

一种自适应的数据库缓存模型
引用本文:邹智敏,郭荷清,高英.一种自适应的数据库缓存模型[J].计算机应用与软件,2008,25(1):51-52,81.
作者姓名:邹智敏  郭荷清  高英
作者单位:华南理工大学计算机科学与工程学院,广东,广州,510641
基金项目:国家重点基础研究发展计划(973计划) , 广东省广州市科技攻关项目
摘    要:缓存可以提高应用系统的性能.但应用系统使用数据的情形是动态变化的,特别当数据更改数量大时,固定缓存会使应用系统的性能急剧下降.为了取得更好的性能,缓存应该根据应用系统的动态变化相应动态改变其数据和大小.缓存中的各类数据的查询、更改的频率是不同的,根据这一特点,提出了一种调整缓存的算法.当应用系统繁忙或负载情况发生重大变化时,则进行缓存调整.算法相对比较简单,容易实现.对各种负载情况进行模拟实验证明,这一自适应的缓存算法比固定缓存具有更好的性能.

关 键 词:自适应缓存  调整算法  调整时机算法
收稿时间:2006-02-20
修稿时间:2006年2月20日

A STUDY ON ADAPTIVE CACHE MODEL
Zou Zhimin,Guo Heqing,Gao Yin.A STUDY ON ADAPTIVE CACHE MODEL[J].Computer Applications and Software,2008,25(1):51-52,81.
Authors:Zou Zhimin  Guo Heqing  Gao Yin
Affiliation:Zou Zhimin Guo Heqing Gao Yin(College of Computer Science & Engineering,South China University of Technology,Guangzhou 510641,Guangdong,China)
Abstract:Cache can improve performance of application. The pattern of data using in an application is variable. When the quantity of data updating is large, cache with fixed size will lead to the sharp decrement of application performance. To acquire better performance, cache should change its data and size accordingly. In cache,every kind of data has various frequencies for query and updating. Based on this characteristic, an algorithm of cache adjustment is presented. Cache is adjusted when application is busy or the load pattern changes dramatically. This algorithm is simple and easy to implement. Simulation is carried out under different load patterns, and the result indicates that the adaptive cache has better performance than the cache with fixed size.
Keywords:Adaptive cache Algorithm of adjustment Algorithm of time adjustment
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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