False ORA-01031 or ORA-00942 Raised for Objects with the Same Name in Different Schemas
Last updated on JANUARY 12, 2016
Applies to:Oracle Database - Enterprise Edition - Version 10.2.0.1 to 188.8.131.52 [Release 10.2 to 11.2]
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';
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms