autotrace explain plan 相關引數解釋
1、以sys執行$ORACLE_HOME/sqlplus/admin/plustrce.sql
2、在user使用者下執行$ORACLE_HOME/rdbms/admin/utlxplan.sql,用於建plan_table表,並Grant PLUSTRACE to user
引數:
SET AUTOTRACE OFF : No AUTOTRACE report is generated. This is the default.
SET AUTOTRACE ON EXPLAIN : The AUTOTRACE report shows only the optimizer execution path.
SET AUTOTRACE ON STATISTICS : The AUTOTRACE report shows only the SQL statement execution statistics.
SET AUTOTRACE ON : The AUTOTRACE report includes both the optimizer execution path and the SQL statement execution statistics.
SET AUTOTRACE TRACEONLY : Like SET AUTOTRACE ON, but suppresses the printing of the user's query output, if any.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-84320/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- EXPLAIN PLAN and SQL*PLUS AUTOTRACE may not generate actual plansAISQL
- EXPLAIN PLAN FOR 和 SET AUTOTRACE之間的差別AI
- (轉)oracle效能工具包Explain plan、Autotrace、TkprofOracleAI
- redis持久化相關引數解釋Redis持久化
- MySQL slow log相關引數解釋MySql
- MySQL handler相關狀態引數解釋MySql
- 配置oracle 解釋執行計劃--explain planOracleAI
- autotrace 和explain plan for可能導致執行計劃錯誤AI
- Explain PlanAI
- explain plan VS execution planAI
- USE EXPLAIN PLANAI
- parallel並行度的相關操作、概念、引數解釋Parallel並行
- Oracle EXPLAIN PLAN用法OracleAI
- Explain for the Statistics of Execution PlanAI
- explain plan 的用法AI
- oracle explain plan for的用法OracleAI
- 【DataGuard】部署Data Guard相關引數詳解
- MySQL環境變數裡關於字符集character_set相關引數的解釋MySql變數
- MySQL效能相關引數MySql
- 歸檔相關引數
- MySQL5.7統計資訊更新的相關引數解釋和測試MySql
- 通俗解釋協方差與相關係數
- ORACLE EXPLAIN PLAN的總結OracleAI
- Use the statspack to generate the accurate explain planAI
- explain plan 學習記錄AI
- sql中使用函式導致explain plan for和set autotrace得到執行計劃不準確SQL函式AI
- MySQL 連線相關引數MySql
- MySQL slow log相關引數MySql
- Spark的相關引數配置Spark
- [20171201]關於explain plan.txtAI
- Error: cannot fetch last explain plan from PLAN_TABLEErrorASTAI
- Set autotrace命令及解釋
- Explain Plan中AUTOTRACE引起的SP2-0613和SP2-0611錯誤 (轉)AI
- hadoop YARN配置引數剖析—MapReduce相關引數HadoopYarn
- 幾項網路安全相關的no引數詳解
- Using Statspack to Record Explain Plan DetailsAI
- 用EXPLAIN PLAN 分析SQL語句AISQL
- EBS相關日誌和引數