• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2008, Vol. 30 ›› Issue (10): 35-36.

• 论文 • 上一篇    下一篇

基于物化视图的查询系统研究与实现

胡雅颖[1] 齐鸿志[1] 朱方[2] 张健楠[2]   

  • 出版日期:2008-10-01 发布日期:2010-05-19

  • Online:2008-10-01 Published:2010-05-19

摘要:

在数据库领域,如何加快查询的执行速度非常重要。查询重写技术能透明地利用物化视图回答查询,避免了直接访问大量的原始记录以及耗时的连接和聚集计算,提高了查询  的执行速度。本文讨论了基于数据库中的外键连接关系进行扩展的查询重写方法,以此为核心研究了针对小型数据库的物化视图查询系统,并通过实验证明了物化视图策略的 有效性。

关键词: 物化视图 查询重写 外键

Abstract:

It is very important to quickly answer quexies in a database environment. Queries are transparently rewritten using materialized views and the time co nsumed by queries is reduced by avoiding accessing huge raw records and performing time-consuming operations. This paper discusses the extended query re  writing method based on the join relation with foreign keys, studies a query system based on materialized views, and proves its validity.

Key words: materialized view, query rewriting, foreign key