False ORA-01031 or ORA-00942 Raised for Objects with the Same Name in Different Schemas
(Doc ID 1287914.1)
Last updated on APRIL 06, 2020
Applies to:Oracle Database Cloud Service - Version N/A and later
Oracle Database - Enterprise Edition - Version 10.2.0.1 to 220.127.116.11 [Release 10.2 to 11.2]
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Information in this document applies to any platform.
Valid statements run by users with appropriate permissions are intermittently failing with ORA-00942 or ORA-01031.
What is specific to this kind of issues is that objects with the same name as the ones accessed by the query exist in other schemas.
To investigate the issue, the following events are set:
alter system set events='1031 trace name errorstack level 3';
alter system set events='942 trace name errorstack level 3';
If the instance is restarted, the event setting statements above should be rerun.
After checking the generated trace files, the following errorstack is found:
<- kkscsCheckCursor <- kkscsSearchChildLis <- kksSearchChildList <- kksfbc
<- kkspsc0 <- kksParseCursor
To have an issue of this kind investigated by support, set the following event and upload the resulting trace into the SR:
alter system set events '1031 trace name errorstack level 3; name library_cache level 72';
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