首页> 外文期刊>Software >Multiple query optimization in middleware using query teamwork
【24h】

Multiple query optimization in middleware using query teamwork

机译:使用查询团队在中间件中进行多重查询优化

获取原文
获取原文并翻译 | 示例
       

摘要

Multiple concurrent queries occur in many database settings. This paper describes the use of middleware as an optimization tool for such queries. Since common subexpressions derive from common data and the data is usually greatest at the source, the middleware exploits the presence of sharable access patterns to underlying data, especially scans of large portions of tables or indexes, in environments where query queuing or batching is an acceptable approach. The results show that simultaneous queries with such sharable accesses have a tendency to form synchronous groups (teams) which benefit each other through the operation of the disk cache, in effect using it as an implicit pipeline. The middleware exploits this tendency by queuing and scheduling the queries to promote this interaction, using an algorithm designed to promote such teamwork. This is implemented as middleware for use with a commercial database engine. The results include tests using the query mix from the TPC Benchmark™R, achieving a speed-up of 2.34 over the default scheduling provided by one database. Other results show that the success depends on the details of the computing environment.
机译:在许多数据库设置中会发生多个并发查询。本文介绍了使用中间件作为此类查询的优化工具。由于公共子表达式是从公共数据派生的,并且数据通常在源头处最大,因此在可接受查询排队或批处理的环境中,中间件利用对基础数据的可共享访问模式的存在,尤其是对表或索引的大部分进行扫描方法。结果表明,具有这种可共享访问的并发查询趋向于形成同步组(团队),这些同步组通过磁盘缓存的操作而彼此受益,实际上是将其用作隐式管道。中间件使用旨在促进这种团队合作的算法,通过对查询进行排队和调度以促进这种交互来利用这种趋势。它被实现为与商业数据库引擎一起使用的中间件。结果包括使用TPC Benchmark™R的查询混合进行的测试,比一个数据库提供的默认计划提高了2.34。其他结果表明,成功取决于计算环境的细节。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号