Monday, December 31, 2012

ORA-00904: : invalid identifier dbms_workload_repository

User has "Select Any Dictionary".

Trying to run awrrpt using that user and got below error:

select output from table(dbms_workload_repository.awr_report_text( :dbid,
                         *
ERROR at line 1:
ORA-00904: : invalid identifier
 
This is because the user does not have grant to execute dbms_workload_repository.
 
So after granting execute on dbms_workload_repository, user was able to run awr report.
 
HTH.  

No comments:

Post a Comment