Re: ORA-1031 when privileges have been granted
Date: Sun, 11 Jan 2009 11:07:16 -0800
On Sat, Jan 10, 2009 at 6:37 PM, Yong Huang <yong321_at_yahoo.com> wrote:
> > I tried doing this with setting 10046 at the session level,
> > but it did not include the SYS queries to show how the
> > dictionary was being queried.
> If you're talking about not seeing recursive SQLs in the SQL
> trace dump file, which happens quite often, it may well be
> because the dictionary cache already has the info so there's
> no need to read from data dictionary. If you flush shared
> pool, dictionary cache will need to be re-populated.
You would think so, but something else appeared to be going on.
'alter session 10046' did not show recursive SQL.
'alter system 10046' did show recursive SQL.
This after running the same query in the same database and same account, immediately following the other query with only 'alter session'.
This was tangential to the problem at hand, I wasn't really interested in pursuing it.
It might be something worth exploring a bit.
Certifiable Oracle DBA and Part Time Perl Evangelist