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

自适应的数据库查询缓存
引用本文:邱林锋,曹学成,柏文阳.自适应的数据库查询缓存[J].计算机工程与应用,2008,44(22):159-161.
作者姓名:邱林锋  曹学成  柏文阳
作者单位:1.南京大学 软件新技术国家重点实验室,南京 210093 2.南京大学 计算机科学与技术系,南京 210093
摘    要:传统的缓存采取较为机械的管理方法,不能随数据库运行的动态信息调整自身参数以得到更优的性能。数据库语义缓存能够让数据库“理解”查询语义,可以为数据库的动态调节提供信息。而查询缓存是语义缓存的一种,在 SQL解析与查询执行之间,通过研究查询缓存的自主管理来提高数据库的查询性能。首先介绍了数据库常用的语义缓存与自主计算,然后对查询缓存进行了形式化定义,并提出了自适应的查询缓存模型。最后在MySQL的查询缓存上进行了实验,得到了较好的效果。

关 键 词:数据库  自主计算  语义缓存  查询缓存  
收稿时间:2007-10-9
修稿时间:2008-1-2  

Adaptive cache for database query
QIU Lin-feng,CAO Xue-cheng,BAI Wen-yang.Adaptive cache for database query[J].Computer Engineering and Applications,2008,44(22):159-161.
Authors:QIU Lin-feng  CAO Xue-cheng  BAI Wen-yang
Affiliation:1.National Key Laboratory for Novel Software Technology,Nanjing University,Nanjing 210093,China 2.Department of Computer Science and Technology,Nanjing University,Nanjing 210093,China
Abstract:In tradition,databases manage their caches in a relatively mechanical way and the cache can’t tune itself in dynamic environments.Semantic caching can make the database understand the query and provide the information needed in the dynamic tuning.Query cache is a kind of the semantic cache,between the SQL parser and the query executor.This paper does some research on the self-management of the database query cache,in order to improve the database performance.First some concepts of the database cache and the autonomic computing are introduced.Then,the formal definition of the query cache and the adaptive model are given.The experiment is done based on MySQL and the result is obvious.
Keywords:database  autonomic computing  semantic cache  query cache
本文献已被 CNKI 万方数据 等数据库收录!
点击此处可从《计算机工程与应用》浏览原始摘要信息
点击此处可从《计算机工程与应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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