DBMS_SQLHASH Does Not Produce The Same Value In All Cases (Doc ID 1569256.1)

Last updated on NOVEMBER 13, 2015

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 to 12.1.0.1 [Release 11.2 to 12.1]
Information in this document applies to any platform.

Symptoms

DBMS_SQLHASH does not always return the same value for the same result set. It appears that the hash value can depend on the access methods,  not just the result set.

For example, you may get these results on either Windows or Linux 64-bit 11.2.0.3:

 

Changes

 Several factors may contribute to a change in order of results, notably the execution plan.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms