Compiling Public Synonyms
606583Jan 28 2008 — edited Oct 30 2009I 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?