导出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需要如下两个权限即可。
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'