导出awr需要如下两个权限即可。
grant execute on DBMS_WORKLOAD_REPOSITORY to user;
grant execute on select any dictionary to user;
通过如下方式,可以查看用户TEST_A具有的权限。
select * from dba_sys_privs a where grantee = 'TEST_A'
文章讲述了导出AWR报告所需的两个关键权限:grantexecuteonDBMS_WORKLOAD_REPOSITORYtouser和grantexecuteonselectanydictionarytouser。同时提供了查询用户TEST_A已有权限的方法,即使用SQL语句select*fromdba_sys_privswheregrantee=TEST_A。
导出awr需要如下两个权限即可。
grant execute on DBMS_WORKLOAD_REPOSITORY to user;
grant execute on select any dictionary to user;
通过如下方式,可以查看用户TEST_A具有的权限。
select * from dba_sys_privs a where grantee = 'TEST_A'
972

被折叠的 条评论
为什么被折叠?