Gathering table stats fails with ORA-904 error in 18c if the job is not owned by SYS user
(Doc ID 2604279.1)
Last updated on JULY 20, 2024
Applies to:
Oracle Database - Enterprise Edition - Version 18.1.0.0.0 and laterInformation in this document applies to any platform.
Symptoms
+ This is Oracle VPD (Virtual Private Database), version 18.6.0.0.0.
+ Gathering table stats fails with ORA-904 error in 18c if the job is not owned by SYS user. This was working fine in 12.2.
+ This was working fine in 12.2. The "lid" is different between 12.2 and 18c.
+ The lid (privilege user id) maps to the uid (parse schema user) rather than SYS.
+ This behavior exists on 18c. On 12.2.0.1, the lid=0 (i.e: SYS).
Changes
DB upgrade from 12.1.0.2 to 18.5
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 |