Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Compiling Public Synonyms

606583Jan 28 2008 — edited Oct 30 2009
I have a number of Public synonyms referencing AWR views such as DBA_HIST_SERVICE_STAT, DBA_HIST_SGASTAT etc which have become invalid.

I have a user granted DBA privileges which I would like to use to recompile the objects but when I issue an ALTER PUBLIC SYNONYM DBA_HIST_SERVICE_STAT COMPILE; as that user it just returns ORA-01031: insufficient privileges.

What do I need to grant to the DBA privileged user in order for them to be able to compile the public synonyms?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 27 2009
Added on Jan 28 2008
8 comments
48,210 views