Oracle SQL execution plan operations (10)

Thedataisgroupedbythehashalgorithm:--Note...

​​​​11. Aggregation related operations

This type of operation is related to the SQL statement containing the aggregation operation.Depending on the specific SQL statement and other related factors, the following operations may appear in the execution plan of the relevant SQL statement.

1) HASH GROUP BY

The data is grouped by the hash algorithm, compared to the previous sorting grouping (SORTGROUP BY) algorithm, hash algorithm is more efficient, this operation first appeared in Oracle 10.2.0 version.

--Note:

1) The premise of this operation appearing in the execution plan is that the parameter "_gby_hash_aggregation_enabled" is set totrue, in Oracle version 11.2.0, this parameter defaults to true.

This operation is specifically shown in node 1 in Figure 11-1

免责声明:本文内容来源于第三方或整理自互联网,本站仅提供展示,不拥有所有权,不代表本站观点立场,也不构成任何其他建议,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容,不承担相关法律责任。如发现本站文章、图片等内容有涉及版权/违法违规或其他不适合的内容, 请及时联系我们进行处理。

相关推荐