解决scott用户执行计划看不到统计信息的问题

来源:互联网 发布:淘宝童装能做吗 编辑:程序博客网 时间:2024/05/01 04:51

scott用户不能set autotrace traceonly

SP2-0618: Cannot find the Session Identifier.  Check PLUSTRACE role is enabled
SP2-0611: Error enabling STATISTICS report


SQL>  grant select on v_$sesstat to scott;


SQL> grant select on v_$statname to scott;

SQL> grant select on v_$mystat to scott;



0 0
原创粉丝点击