My Oracle Support Banner

ORA-600 [32695] [hash aggregation can't be done] (Doc ID 729447.1)

Last updated on FEBRUARY 03, 2019

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 10.2 to 11.1]
Information in this document applies to any platform.
***Checked for relevance on 17-Nov-2011***


When running a statement that involves a GROUP BY operation, the following error is raised:

ORA-00600: internal error code, arguments: [32695], [hash aggregation can't be done], [], [],

 If we look in the trace file, under Call Stack Trace section, we see the functions:

... qeshPartitionBuildHD qeshGBYOpenScan2 qeshGBYOpenScan qerghFetch qervwFetch ...

and the query plan for the SQL statement shows a HASH GROUP BY, eg. :

| Id | Operation                         |
| 0 | INSERT STATEMENT                   |
| 1 | PX COORDINATOR                     |
| 2 | PX SEND QC (RANDOM)                |
| 3 | HASH GROUP BY                      |


A second case where this would occur could be with a failing query that has no GROUP BY, but has a Select Distinct. The Plan table indicates a HASH UNIQUE instead of HASH GROUP BY.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.