2006年12月27日
非sys使用autorace
要優化特定的sql,所以想到先使用autorace的方式來解決,但發現一執行set autotrace on;就發生錯誤了
尋問google大神找到了解決方案,只是沒想到10.0.2還有這個bug=.="
尋問google大神找到了解決方案,只是沒想到10.0.2還有這個bug=.="
錯誤訊習:
SP2-0618: Cannot find the Session Identifier. Check PLUSTRACE role is enabled
SP2-0611: Error enabling STATISTICS report
解進方法如下:
SP2-0618: Cannot find the Session Identifier. Check PLUSTRACE role is enabled
SP2-0611: Error enabling STATISTICS report
解進方法如下:
grant select on v_$sesstat to plustrace;這樣子就可以
grant select on v_$statname to plustrace;
grant select on v_$session to plustrace;
grant select on v_$mystat to plustrace;
引用URL
http://cgi.blog.roodo.com/trackback/2603249