首页> 外文会议>Optimisation and Synthesis of Electromagnetic Fields >Performing group-by before join query processing
【24h】

Performing group-by before join query processing

机译:加入之前执行分组依据查询处理

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

摘要

Assume that we have an SQL query containing joins and a group-by.nThe standard way of evaluating this type of query is to first performnall the joins and then the group-by operation. However, it may benpossible to perform the group-by early, that is, to push the group-bynoperation past one or more joins. Early grouping may reduce the querynprocessing cost by reducing the amount of data participating in joins.nWe formally define the problem, adhering strictly to the semantics ofnNULL and duplicate elimination in SQL2, and prove necessary andnsufficient conditions for deciding when this transformation is valid. Innpractice, it may be expensive or even impossible to test whether thenconditions are satisfied. Therefore, we also present a more practicalnalgorithm that tests a simpler, sufficient condition. This algorithm isnfast and detects a large subclass of transformable queries
机译:假设我们有一个包含联接和group-by的SQL查询。n评估这种类型查询的标准方法是先执行所有联接,然后执行group-by操作。但是,可能无法及早执行分组操作,即,将分组操作推过一个或多个联接。早期分组可以通过减少参与联接的数据量来减少查询处理的成本。n我们正式定义问题,严格遵守nNULL的语义并在SQL2中进行重复消除,并证明必要的条件和不足的条件来确定此转换何时有效。在实践中,测试条件是否满足可能是昂贵的,甚至是不可能的。因此,我们还提出了一种更实用的算法来测试更简单,充分的条件。该算法速度很快,并且会检测可转换查询的较大子类

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号