oracle 9i 開啟autotrace on
@?/rdbms/admin/utlxplan
create public synonym plan_table for plan_table;
grant all on plan_table to public;
@?/sqlplus/admin/plustrce.sql
grant plustrace to public;
#測試過程
connect /as sysdba;
select username,created from dba_users order by 2;
connect USERNAME/PASSWORD
set autotrace traceonly;
如果出現
SQL> set autotrace traceonly;
SP2-0618: Cannot find the Session Identifier. Check PLUSTRACE role is enabled
SP2-0611: Error enabling STATISTICS report
的提示,執行:
connect /as sysdba;
grant select any dictionary to public;
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/8806316/viewspace-1033579/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle 9i 開啟autotrace on 檢視執行計劃Oracle
- Oracle 9I 下的AutoTraceOracle
- oracle 9i for linux 9.2.0.4 中開啟autotrace中的一個bug。OracleLinux
- Oracle AutotraceOracle
- 開啟執行計劃set autotrace on
- Oracle 開啟SQL跟蹤執行SET AUTOTRACE ON命令時出錯OracleSQL
- oracle 9i啟用Execution PlanOracle
- 關於ORACLE AUTOTRACEOracle
- ORACLE 使用AUTOTRACE功能Oracle
- ORACLE 10G AUTOTRACEOracle 10g
- Oracle最佳化工具——AutoTraceOracle
- oracle之autotrace統計資訊分析Oracle
- 【優化】ORACLE set autotrace in SQL*Plus優化OracleSQL
- oracle insert all 特性-------9i開始Oracle
- 如何啟用sqlplus的AutoTrace功能SQL
- 重啟系統後AUTOTRACE統計為零
- 【AUTOTRACE】SQL優化的重要工具--AUTOTRACESQL優化
- Oracle 9i安裝Oracle
- Uninstall Oracle 9iOracle
- oracle 9i 閃回Oracle
- oracle 9i index bug?OracleIndex
- ORACLE 9i statspack使用Oracle
- Oracle 9I dataguard(standby)Oracle
- oracle 10g R2 autotrace 增強Oracle 10g
- (轉)oracle效能工具包Explain plan、Autotrace、TkprofOracleAI
- Oracle 9I FlashBack 測試Oracle
- oracle 9i init.oraOracle
- oracle 9i 建庫模板Oracle
- ORACLE 9I not exists的bugOracle
- ORACLE 9I TURNING SQLOracleSQL
- KB-Oracle 9i NVarcharOracle
- oracle開機啟動Oracle
- oracle 9i 手動建庫Oracle
- Oracle 9i配置Statspack工具(下)Oracle
- Oracle 9i配置Statspack工具(上)Oracle
- Oracle 9i RAC on PowerHA5.5Oracle
- Oracle 9i效能調整 [ZT]Oracle
- Oracle 9I恢復實戰Oracle