计算机应用 ›› 2009, Vol. 29 ›› Issue (11): 3084-3087.

• 数据库与数据挖掘 • 上一篇    下一篇

一种数据流查询共享模型的设计

王丹1,李茂增2   

  1. 1. 北京工业大学计算机学院
    2. 北京工业大学 计算机学院
  • 收稿日期:2009-03-30 修回日期:2009-05-25 发布日期:2009-11-26 出版日期:2009-11-01
  • 通讯作者: 王丹
  • 基金资助:
    北京市属市管高等学校人才强教计划资助项目

Query sharing model in data stream system

Dan WANG,Mao-zeng MAO   

  • Received:2009-03-30 Revised:2009-05-25 Online:2009-11-26 Published:2009-11-01
  • Contact: Dan WANG

摘要: 为了提高查询效率,从数据流查询过程中查询操作单元和查询存储结构的共享两个方面展开研究。设计一种基于共享的二级索引队列,用于存储数据流中间结果。该结构使得中间查询结果可以再利用的同时也为数据共享情况下的迁移提供了一定的灵活性。对于多查询共享,通过抽取相同数据流中的相同谓词进行查询共享,实现一处计算多处使用的目的。最后对相关模型和算法进行了分析。

关键词: 查询优化, CQL语言, 查询树

Abstract: Query sharing is an effective way to share the same or similar storage structures and query operations during the query procession so as to lessen the repetitive storage and resources occupation in a data stream system. For query storage sharing, a middle-result storage structure was designed, and accordingly an index-based algorithm with two-level indirect storage of the sharing queue was presented to enable the proper sharing of middle storage results, which can improve the flexibility for the data tuple to migrate as well. Meanwhile, for the multi-queries sharing, an algorithm to pick up the same query operations from several data streams was proposed, which can reduce the system processing resources by sharing the same processing resources in query operations. The model and algorithm were analyzed and discussed.

Key words: query optimization, CQL language, query tree

中图分类号: