首页> 外文会议>Proceedings of the 1990 ACM SIGMOD international conference on management of data >Query graphs, implementing trees, and freely-reorderable outerjoins
【24h】

Query graphs, implementing trees, and freely-reorderable outerjoins

机译:查询图,实现树和可自由重排序的外部联接

获取原文

摘要

We determine when a join/outerjoin query can be expressed unambiguously as a query graph, without an explicit specification of the order of evaluation. To do so, we first characterize the set of expression trees that implement a given join/outerjoin query graph, and investigate the existence of transformations among the various trees. Our main theorem is that a join/outerjoin query is freely reorderable if the query graph derived from it falls within a particular class, every tree that "implements" such a graph evaluates to the same result.

The result has applications to language design and query optimization. Languages that generate queries within such a class do not require the user to indicate priority among join operations, and hence may present a simplified syntax. And it is unnecessary to add extensive analyses to a conventional query optimizer in order to generate legal reorderings for a freely-reorderable language.

机译:

我们确定何时可以明确将联接/外部联接查询表示为查询图,而无需明确指定评估顺序。为此,我们首先表征实现给定联接/外联接查询图的表达式树集,并研究各种树之间存在转换的情况。我们的主要定理是,如果联接/外部联接查询的派生图属于特定类,则“联接” /“外部联接”查询可以自由地重新排序,“实现”这种图的每棵树都将得出相同的结果。

结果可应用于语言设计和查询优化。在此类中生成查询的语言不需要用户指示联接操作之间的优先级,因此可以提供简化的语法。而且,不必为常规的查询优化器添加大量分析以生成可自由重排序的语言的合法重排序。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号