explain plan 的用法
SQL> explain plan for select * from test where flag=:a;
Explained.
SQL> select * from table(dbms_xplan.display);
PLAN_TABLE_OUTPUT
--------------------------------------------------------------------------------
--------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes | Cost |
--------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 3101 | 9303 | 3 |
|* 1 | TABLE ACCESS FULL | TEST | 3101 | 9303 | 3 |
--------------------------------------------------------------------
Predicate Information (identified by operation id):
---------------------------------------------------
PLAN_TABLE_OUTPUT
--------------------------------------------------------------------------------
1 - filter("TEST"."FLAG"=:Z)
Note: cpu costing is off
14 rows selected.
Execution Plan
----------------------------------------------------------
0 SELECT STATEMENT Optimizer=CHOOSE
1 0 COLLECTION ITERATOR (PICKLER FETCH) OF 'DISPLAY'
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7199859/viewspace-128558/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle explain plan for的用法OracleAI
- Oracle EXPLAIN PLAN用法OracleAI
- Explain PlanAI
- explain plan VS execution planAI
- USE EXPLAIN PLANAI
- Explain for the Statistics of Execution PlanAI
- ORACLE EXPLAIN PLAN的總結OracleAI
- Use the statspack to generate the accurate explain planAI
- explain plan 學習記錄AI
- 【Explain Plan】10g中的PLAN_TABLE$臨時表AI
- Error: cannot fetch last explain plan from PLAN_TABLEErrorASTAI
- Using Statspack to Record Explain Plan DetailsAI
- 用EXPLAIN PLAN 分析SQL語句AISQL
- toad顯示explain plan的問題AI
- EXPLAIN PLAN FOR 和 SET AUTOTRACE之間的差別AI
- 【Explain Plan】檢視SQL的執行計劃AISQL
- Oracle執行計劃Explain Plan 如何使用OracleAI
- oracle 使用explain plan分析查詢語句OracleAI
- EXPLAIN PLAN and SQL*PLUS AUTOTRACE may not generate actual plansAISQL
- Oracle 執行計劃(Explain Plan) 說明OracleAI
- autotrace explain plan 相關引數解釋AI
- Oracle 執行計劃(Explain Plan) 說明OracleAI
- MySQL 的 EXPLAIN 語句及用法MySqlAI
- mysql效能分析之explain的用法MySqlAI
- MySQL中explain的幾點用法MySqlAI
- set autot traceonly與explain plan for的一點小區別AI
- 使用EXPLAIN PLAN來檢視執行計劃AI
- TOAD中檢視執行計劃(Explain Plan)AI
- (轉)oracle效能工具包Explain plan、Autotrace、TkprofOracleAI
- 配置oracle 解釋執行計劃--explain planOracleAI
- [MySql]explain用法及實踐MySqlAI
- 【最佳化】explain plan for 方式存取執行計劃AI
- mysql explain用法和結果的含義MySqlAI
- 【執行計劃】格式化EXPLAIN PLAN的輸出結果AI
- [20171201]關於explain plan.txtAI
- 11G新特性,explain plan 可以評估出索引大小AI索引
- Script: Script to Simplify the Use of Explain Plan (Doc ID 1019631.6)AI
- autotrace 和explain plan for可能導致執行計劃錯誤AI