My Oracle Support Banner

Parallel Query Fails Intermittently With ORA-12842 Starting in RDBMS 10.2.0.4+ (Doc ID 751588.1)

Last updated on JULY 26, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.4 and later
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.

Symptoms

Starting in 10.2.0.4, a select statement executing in parallel failed intermittently with "ORA-12842: Cursor invalidated during parallel execution."

Further investigation revealed the following:

  1. The issue did not occur in 10.2.0.3.   
  2. DDL was being performed on the objects involved in the select statement at about the same time that the query was running.
  3. In this case, exchange DDL was being performed on a partition of a partitioned table.  However, the issue is not limited to only exhange operations, nor is it limited to only partitioned objects.   Cursors can be invalidated for various reasons, including the running of dbms_stats on an object.

 

Changes

The database was upgraded to 10.2.0.4 or higher version.

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.