- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试在 oracle 11G 中生成 AWR 报告。在创建时,我收到一些错误消息。下面提到了错误
Using the report name awrrpt_1_2504_2709.html. select output from table(dbms_workload_repository.awr_report_html( :dbid, * ERROR at line 1: ORA-00904: : invalid identifier
@$ORACLE_HOME/rdbms/admin/awrrpt.sql
Enter value for report_type: html
Enter value for begin_snap: 2504 Begin Snapshot Id specified: 2504
Enter value for end_snap: 2709 End Snapshot Id specified: 2709
最佳答案
您用来生成 AWR 的用户不能对 DBMS_WORKLOAD_REPOSITORY
具有执行权限包裹。
引用 Oracle 文档,
..To invoke these procedures, a user must be granted the DBA role.
GRANTS
的列表你需要生成 AWR
GRANT SELECT ON SYS.V_$DATABASE TO MY_USER;
GRANT SELECT ON SYS.V_$INSTANCE TO MY_USER;
GRANT EXECUTE ON SYS.DBMS_WORKLOAD_REPOSITORY TO MY_USER;
GRANT SELECT ON SYS.DBA_HIST_DATABASE_INSTANCE TO MY_USER;
GRANT SELECT ON SYS.DBA_HIST_SNAPSHOT TO MY_USER;
GRANT ADVISOR TO MY_USER;
关于oracle - oracle中的AWR报告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14889550/
我是 Oracle 的新手,我从企业管理器创建了一份 AWR 报告。这是报告的一个小快照。 登录:每秒 0.01 次 - 每笔交易 0.02 次 内存中排序百分比 100.00 执行每秒 19.0 -
Automatic Workload Repository 是 10g 引入的一个重要组件 存贮着近期一段时间内数据库活动状态的详细信息、信息保留默
我正在使用 Oracle 在我的应用程序服务器的两个节点之间同步事件(不要介意为什么/如果这是最好的方式/等等。这是给定的)。 为此,我使用了一个“事件”表,一个节点(“主动”)将新事件写入其中,另一
我试图了解导致 Oracle (10) 数据库打开查询的原因。 在 AWR 上,它显示了非常多的解析调用(例如 1 小时内 15,000+),但执行次数为 0。 怎么能不执行查询,然后解析 15000
我有一个文件“salida_test”包含(以重复的方式): Point ID 1.750251 Point Name >BRI_4L_SA2__INT Interruptor 33kV Par
我是一名优秀的程序员,十分优秀!