ORA-600  [hash aggregation can't be done]
(Doc ID 729447.1)
Last updated on JUNE 06, 2019
Applies to:Oracle Database - Enterprise Edition - Version 10.2.0.1 to 126.96.36.199 [Release 10.2 to 11.1]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
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:
If we look in the trace file, under Call Stack Trace section, we see the functions:
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