My Oracle Support Banner

ORA-600 [KGHALP1] Error Executing a Join Query with Dynamic Sampling Enabled (Doc ID 465261.1)

Last updated on MARCH 29, 2019

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 10.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.


ORA-600 [KGHALP1] error raised when trying to allocate memory in the "kxs-heap-c" heap when executing a join query.
The call stack from the trace file includes module kkedsamp() indicating that optimizer dynamic sampling is being performed.


OPTIMIZER_DYNAMIC_SAMPLING parameter is set to 4 or higher.


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.