Oracle监控账户权限的推荐配置
建立用户:
1 | CREATE USER monadm IDENTIFIED BY monadm; |
赋权:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | GRANT resource,CONNECT,select_catalog_role TO monadm; GRANT SELECT ON v_$DATABASE TO monadm; GRANT SELECT ON v_$INSTANCE TO monadm; GRANT SELECT ON sys.props$ TO monadm; GRANT SELECT ON v_$sysstat TO monadm; GRANT SELECT ON v_$parameter TO monadm; GRANT SELECT ON v_$sga TO monadm; GRANT SELECT ON v_$rowcache TO monadm; GRANT SELECT ON v_$librarycache TO monadm; GRANT SELECT ON dba_data_files TO monadm; GRANT SELECT ON v_$log TO monadm; GRANT SELECT ON dba_tablespaces TO monadm; GRANT SELECT ON dba_free_space TO monadm; GRANT SELECT ON dba_segments TO monadm; GRANT SELECT ON v_$resource_limit TO monadm; GRANT SELECT ON v_$bgprocess TO monadm; GRANT SELECT ON v_$session TO monadm; GRANT SELECT ON v_$lock TO monadm; GRANT SELECT ON v_$sqltext TO monadm; |