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.
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:
- The issue did not occur in 10.2.0.3.
- DDL was being performed on the objects involved in the select statement at about the same time that the query was running.
- 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.
The database was upgraded to 10.2.0.4 or higher version.
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