grant create session to appsquery;--能连接数据库分配会话 grant select any dictionary to appsquery;--授权数据字典表查询权限,数据字典表就是那些dba,v$开头的表 grant select any table to appsquery;--授权所有表查询权限,如果这个不执行,就只能查数据字典表。 grant execute on DBMS_METADATA to appsquery;--获取对象 grant execute on DBMS_CRYPTO to appsquery;--使用自带的散列函数 grant execute on dbms_monitor to appsquery;--监控资源消耗的前提