My Oracle Support Banner

Running DBMS_STATS.GATHER_TABLE_STATS Is Failing With An ORA-12805 And An ORA-07445 [Qesamsr2sorrecmerge] Is Reported In The Alert Log. (Doc ID 875816.1)

Last updated on MAY 19, 2021

Applies to:

Oracle Database Cloud Service - Version N/A and later
Oracle Database - Enterprise Edition - Version 10.2.0.3 to 11.1.0.7 [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
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Information in this document applies to any platform.

Symptoms

When running DBMS_STATS.GATHER_TABLE_STATS with Parallelism, it fails with the below error:

ORA-12805: parallel query server died unexpectedly

And in the alert log, you see the error:

ORA-07445: exception encountered: core dump [qesaMSR2SorRecMerge()+224]
[SIGSEGV] [Address not mapped to object] [0xFFFFFFFF7883CE80] [] []

An example of the failing query gathering the statistics would be:

The Explain Plan would also show a lot of PX operations.

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References

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