首页> 外文OA文献 >ZStream: A cost-based query processor for adaptively detecting composite events
【2h】

ZStream: A cost-based query processor for adaptively detecting composite events

机译:Zstream:基于成本的查询处理器,用于自适应地检测复合事件

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

Composite (or Complex) event processing (CEP) systems search sequences of incoming events for occurrences of user-specified event patterns. Recently, they have gained more attention in a variety of areas due to their powerful and expressive query language and performance potential. Sequentiality (temporal ordering) is the primary way in which CEP systems relate events to each other. In this paper, we present a CEP system called ZStream to efficiently process such sequential patterns. Besides simple sequential patterns, ZStream is also able to detect other patterns, including conjunction, disjunction, negation and Kleene closure.Unlike most recently proposed CEP systems, which use non-deterministic finite automata (NFA's) to detect patterns, ZStream uses tree-based query plans for both the logical and physical representation of query patterns. By carefully designing the underlying infrastructure and algorithms, ZStream is able to unify the evaluation of sequence, conjunction, disjunction, negation, and Kleene closure as variants of the join operator. Under this framework, a single pattern in ZStream may have several equivalent physical tree plans, with different evaluation costs. We propose a cost model to estimate the computation costs of a plan. We show that our cost model can accurately capture the actual runtime behavior of a plan, and that choosing the optimal plan can result in a factor of four or more speedup versus an NFA based approach. Based on this cost model and using a simple set of statistics about operator selectivity and data rates, ZStream is able to adaptively and seamlessly adjust the order in which it detects patterns on the fly. Finally, we describe a dynamic programming algorithm used in our cost model to efficiently search for an optimal query plan for a given pattern.
机译:复合(或复杂)事件处理(CEP)系统搜索传入事件的序列以查找用户指定的事件模式。最近,由于它们强大而富于表现力的查询语言和性能潜力,它们在各个领域都引起了更多关注。顺序性(时间顺序)是CEP系统将事件相互关联的主要方式。在本文中,我们提出了一个称为ZStream的CEP系统,以有效地处理此类顺序模式。除了简单的顺序模式外,ZStream还可以检测其他模式,包括合取,析取,否定和Kleene闭包。与最近提出的使用非确定性有限自动机(NFA)检测模式的CEP系统不同,ZStream使用基于树的用于查询模式的逻辑表示和物理表示的查询计划。通过精心设计底层基础结构和算法,ZStream能够将对序列,合取,析取,取反和Kleene闭包的评估统一为join运算符的变体。在此框架下,ZStream中的单个模式可能具有多个等效的物理树计划,但评估成本却不同。我们提出一种成本模型来估算计划的计算成本。我们证明了我们的成本模型可以准确地捕获计划的实际运行时行为,并且与基于NFA的方法相比,选择最佳计划可以使速度提高四倍或更多。基于此成本模型,并使用一组有关操作员选择性和数据速率的简单统计信息,ZStream能够自适应且无缝地调整其动态检测模式的顺序。最后,我们描述了一种在成本模型中使用的动态编程算法,可以有效地搜索给定模式的最佳查询计划。

著录项

  • 作者

    Mei Yuan; Madden Samuel R.;

  • 作者单位
  • 年度 2009
  • 总页数
  • 原文格式 PDF
  • 正文语种 en_US
  • 中图分类

相似文献

  • 外文文献
  • 中文文献
  • 专利
代理获取

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号