首页> 外文会议>International Conference on Data Management Technologies and Applications >FunctionGuard: A Query Engine for Expensive Scientific Functions in Relational Databases
【24h】

FunctionGuard: A Query Engine for Expensive Scientific Functions in Relational Databases

机译:functionguard:用于关系数据库中的昂贵科学函数的查询引擎

获取原文
获取外文期刊封面目录资料

摘要

Expensive user-defined functions impose unique challenges to database management systems at query time. This is mostly due to the black-box nature of these functions, the in-ability to optimize their internals, and the potential inefficiency of the common optimization heuristics, e.g., "selection-push-down'. Moreover, the increasing diversity of modern scientific applications that depend on DBMSs and, at the same time, extensively use expensive UDFs is mandating the design and development of efficient techniques to support these expensive functions. In this paper, we propose the "FunctionGuard" system that leverages disk-based persistent caching in novel ways to achieve across-queries optimizations for expensive UDFs. The unique features of FunctionGuard include: (1) Dynamic extraction of dependencies between the UDFs and the data sources and identifying the potential cacheable functions, (2) Cache-aware query optimization through newly introduced query operators, (3) Proactive cache refreshing that partially migrates the cost of the expensive calls from the query time to the idle and under-utilized times, and (4) Integration with the state-of-art techniques that generate efficient query plans under the presence of expensive functions. The system is implemented within PostgreSQL DBMS, and the results show the effectiveness of the proposed algorithms and optimizations.
机译:昂贵的用户定义功能对查询时间的数据库管理系统施加了独特的挑战。这主要是由于这些功能的黑匣子性质,优化其内部的能力,以及常见优化启发式的潜在低效率,例如“选择 - 俯卧撑”。此外,现代的越来越多的多样性依赖DBMSS的科学应用程序,同时,广泛使用昂贵的UDF是强制设计和开发高效技术来支持这些昂贵的功能。在本文中,我们提出了利用基于磁盘的持久缓存的“功能窗”系统以新颖的方式实现昂贵的UDF的查询优化。功能防护的唯一功能包括:(1)UDF和数据源之间的依赖性的动态提取,并识别通过的潜在可缓存功能,(2)缓存感知查询优化新引入的查询运算符,(3)主动缓存刷新,部分迁移昂贵的呼叫费用从查询时间到空闲和联合国利用时间,和(4)与最先进的技术集成,在昂贵的功能存在下产生有效的查询计划。该系统在PostgreSQL DBMS中实现,结果显示了所提出的算法和优化的有效性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号