When I try to recompile DBA_AUIT_TRAIL it errors out with a message:
SQL> show errors view DBA_AUDIT_TRAIL;
Errors for VIEW DBA_AUDIT_TRAIL:
0/0 ORA-00904: "OBJ$EDITION": invalid identifier
SQL>
So where is OBJ$EDITON; how to make this view valid.
Huh? Edition-Based Redefinition is a new feature in 11g Release 2,
isn't it? OBJ$EDITION seems to be related to this feature, it
shouldn't be present in 11.1 (at least, not officially.) You probably
installed a backport patch that should not had been installed or they
backported it wrong.
Regards,
Vladimir M. Zakharychev
N-Networks, makers of Dynamic PSP(tm)
http://www.dynamicpsp.com
I do not currently have an 11g install I can access however in past
versions the $ORACLE_HOME/rdbms/admin/cataudit.sql script contained
the view definition. Have you tried rerunning this script?
HTH -- Mark D Powell --
Did you search the $ORACLE_HOME/rdbms/admin directory to see which
script creats obj$edition? Did you check dba_registry to see any
features/components are invalid and need to be fixed?
I found that somehow aud$ in my instalation has some columns missing.
I think these cloumns have o do with extended database auditing and
also includ eobj$editio. I was looking at a correct installtion which
had these columns. I just added the columns using alter table aud$ and
pproblem went away.
You are aware this invalidates your support license?
Ok, it is established now you are not a DBA, but a hacker
only!!!!!!!!!!
Luckily you don't work for me, I would fire you on the spot.
----
Sybrand Bakker
Senior Oracle DBA