Parallel Query Fails Intermittently With ORA-12842 Starting in RDBMS 10.2.0.4+
Last updated on AUGUST 25, 2017
Applies to:Oracle Database - Enterprise Edition - Version 10.2.0.4 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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms