DBToaster:动态、频繁刷新视图的高阶Delta处理
DBToaster: Higher-order Delta Processing for Dynamic, Frequently Fresh Views
摘要:
从算法交易到科学数据分析的应用程序都需要基于数据库视图的实时分析,这些视图以非常高的速率变化。这样的观点必须保持新鲜,维护成本低,时间短。同时,这些视图必须支持经典SQL,而不是窗口语义,以支持将当前数据与过时或历史数据相结合的应用程序。在本文中,我们提出了视图转换,递归有限差分技术应用于查询。viewlet转换将查询及其一组高阶增量具体化为视图。这些视图支持彼此的增量维护,从而降低了整体视图维护成本。查询的viewlet转换允许有效的评估,消除某些昂贵的查询操作,以及积极的并行化。我们开发的视图转换成一个可行的查询执行技术,提出了一个启发式的和基于成本的优化框架,并报告与原型动态数据管理系统,结合视图转换与优化编译技术的实验。该系统支持成千上万的完整视图刷新一秒钟的范围广泛的查询。
英文摘要:
Applications ranging from algorithmic trading to scientific data analysis require realtime analytics based on views over databases that change at very high rates. Such views have to be kept fresh at low maintenance cost and latencies. At the same time, these views have to support classical SQL, rather than window semantics, to enable applications that combine current with aged or historical data. In this paper, we present viewlet transforms, a recursive finite differencing technique applied to queries. The viewlet transform materializes a query and a set of its higher-order deltas as views. These views support each other's incremental maintenance, leading to a reduced overall view maintenance cost. The viewlet transform of a query admits efficient evaluation, the elimination of certain expensive query operations, and aggressive parallelization. We develop viewlet transforms into a workable query execution technique, present a heuristic and cost-based optimization framework, and report on experiments with a prototype dynamic data management system that combines viewlet transforms with an optimizing compilation technique. The system supports tens of thousands of complete view refreshes a second for a wide range of queries.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。