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

数据库查询优化中的智能预取技术*
引用本文:朱鸿宇,刘瑰,唐福华,陈左宁.数据库查询优化中的智能预取技术*[J].计算机应用研究,2007,24(5):35-37.
作者姓名:朱鸿宇  刘瑰  唐福华  陈左宁
作者单位:1. 江南计算技术研究所,江苏,无锡,214083
2. 江南计算技术研究所,江苏,无锡,214083;解放军信息工程大学,信息工程学院,河南,郑州,450002
基金项目:国家自然科学基金 , 解放军总装备部预研项目
摘    要:提出了一种新的用于关系数据库查询缓冲和预取的方法.首先将数据查询语句抽象成由四元组组成的查询模板,同时保存了查询语句的实际参数.基于这些模板和参数,提出了两种智能预取算法以适应两类不同的数据查询需求.第一个算法基于蚁群规则,该算法能够用于预测将来具有最高可能性的查询.经过监控某个特定应用对于数据库所发生的大量查询,实际的模板数要远远小于发生的查询数.当通过考虑查询模板和跟踪历史查询记录来预测未来可能发生的查询时,提出了第二类算法.该算法基于惯性规则,它使用BP网络来跟踪用户的查询历史.相对于前面的算法,该算法更适合多应用共存的场合.在模拟实验中发现对于单个应用而言,查询具有很高的模板依赖性,而对于多应用场合,惯性规则具有更好的适应性.

关 键 词:数据预取  蚁群规则  惯性规则  数据库  查询优化  智能  预取技术  Query  Optimization  Database  Algorithm  Prefetch  适应性  应用场合  依赖性  发现  模拟实验  用户  网络  使用  惯性  查询记录  历史  跟踪
文章编号:1001-3695(2007)05-0035-03
修稿时间:2006-03-032006-05-17

Intelligent Prefetch Algorithm on Database Query Optimization
ZHU Hong yu,LIU Gui,TANG Fu hu,CHEN Zuo ning.Intelligent Prefetch Algorithm on Database Query Optimization[J].Application Research of Computers,2007,24(5):35-37.
Authors:ZHU Hong yu  LIU Gui  TANG Fu hu  CHEN Zuo ning
Affiliation:1. Jiangnan Institute of Computing Technology, Wuxi Jiangsu 214083, China; 2. School of Information Engineering, PLA Information Engineering University, Zhengzhou Henan 450002, China
Abstract:This paper explored a new approach toward intelligent caching and prefetching for data query of DBMS. First abstracted the data query statement into query patterns which consisted of four units. Also considered the real query parameters which could be used to build real query from the query pattern. Based on the query pattern and the real query parameters, it developed two intelligent prefetch algorithms to fit two kinds of demand in data query. The first algorithm based On-ant-group rule, It could be used to predict the future query with highest probability. Experiments showed that in contrast to the substantially large number of queriescoming of the special application to the database system, the number of patterns of these differentqueries were quite limited. It took into consideration the query pattern and the historytrace of query reference when predicting future query and developed the second algorithm based on inertia rule which used BP network to trace the history of user query. It was more fit for the multi-application situation than the previous. Simulation shows the inter-query locality is highly query pattern dependable under single-application situation and the inertia rule has more flexibility under multi-application situation.
Keywords:prefetch  ant-group rule  inertia rule
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机应用研究》浏览原始摘要信息
点击此处可从《计算机应用研究》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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