首页 | 官方网站   微博 | 高级检索  
     

ORM中基于语义相似性的查询缓存替换策略
引用本文:周红静,杨金民.ORM中基于语义相似性的查询缓存替换策略[J].湖南大学学报(自然科学版),2009,36(11).
作者姓名:周红静  杨金民
作者单位:1. 湖南大学,软件学院,湖南,长沙,410082;湖南商学院,计算机与电子工程学院,湖南,长沙,410205
2. 湖南大学,软件学院,湖南,长沙,410082
基金项目:国家自然科学基金资助项目,国家973资助项目 
摘    要:针对查询的时间局部性特点, 提出基于语义缓存查询SC(semantic comparability)替换策略. 该策略通过分析缓存项与查询项在关系、条件及查询属性3个方面的相关性, 并结合数据访问频率将相似性最小的缓存项予以淘汰. 实验结果表明, 基于查询序列的先后关系, 有选择性的保留与查询具有继承、关联等关系的缓存项, 能够得到更高的查询命中率及更短的查询响应时间. 在缓存空间相同的情况下, SC策略优于LRU策略.

关 键 词:面向对象编程  关系数据库系统  语义缓存  语义局部性

A Query Cache Replacement Scheme Based on Semantic Comparability Metric in ORM
ZHOU Hong-jing,YANG Jin-min.A Query Cache Replacement Scheme Based on Semantic Comparability Metric in ORM[J].Journal of Hunan University(Naturnal Science),2009,36(11).
Authors:ZHOU Hong-jing  YANG Jin-min
Abstract:The SC (semantic comparability) cache replacement policy for semantic cache was proposed, which took into account the characteristic of query locality. This policy analyses the relativity between query items and caching items in several aspects, such as relation, condition and query attribute, and then collaborate with the data access frequency metric to determine the least similar item in cache. Performance testing results have validated that the SC replacement policy can achieve higher hit ratio and lesser query response time than the LRU policy when the queries are correlated and appear successively.
Keywords:ORM(Object-Relational Mapping)
本文献已被 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号