Oracle9i, 10g 優化模式 OPTIMIZER_MODE
10g Values: default all_rows
first_rows_n
The optimizer uses a cost-based approach and optimizes with a goal of best response time to return the first n rows (where n = 1, 10, 100, 1000).
first_rows
The optimizer uses a mix of costs and heuristics to find a best plan for fast delivery of the first few rows.
all_rows
The optimizer uses a cost-based approach for all SQL statements in the session and optimizes with a goal of best throughput (minimum resource use to complete the entire statement).
---------------------------------------------------------------------------------------------
9i Values: default choose
rule
The optimizer chooses a rule-based approach for all SQL statements regardless of the presence of statistics.
choose
The optimizer chooses between a cost-based approach and a rule-based approach based on whether statistics are available.
If the data dictionary contains statistics for at least one of the accessed tables, then the optimizer uses a cost-based approach and
optimizes with a goal of best throughput. If the data dictionary contains only some statistics, then the cost-based approach is used, and the optimizer must guess the statistics for the subjects without any statistics. This can result in sub-optimal execution plans. If the data dictionary contains no statistics for any of the accessed tables, then the optimizer uses a rule-based approach.
first_rows_n
The optimizer uses a cost-based approach, regardless of the presence of statistics, and optimizes with a goal of best response time to return the first n rows (where n = 1, 10, 100, 1000).
first_rows
The optimizer uses a mix of costs and heuristics to find a best plan for fast delivery of the first few rows.
all_rows
The optimizer uses a cost-based approach for all SQL statements in the session regardless of the presence of statistics and optimizes with a goal of best throughput (minimum resource use to complete the entire statement).
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-616898/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 淺談optimizer_mode優化器模式優化模式
- Oracle 優化引數 optimizer_mode 介紹Oracle優化
- Oracle控制優化器偏好--optimizer_mode引數Oracle優化
- 10g中的optimizer_mode引數的取值
- 10G預設optimizer_mode為all_rows
- Oracle9i 應用系統優化Oracle優化
- 優化模式optimizer_mode為choose,table沒有被分析過,卻採用cbo的幾個原因(zt)優化模式
- Oracle9i, 10g 優化分析統計(dbms_stats)指令碼Oracle優化指令碼
- 效能優化模式優化模式
- 如何優化10g exp/imp優化
- 10G FAST DUAL 的優化AST優化
- 利用Oracle 10g SQL優化器(STA)優化語句Oracle 10gSQL優化
- ORACLE9I升級到10GOracle
- 10g優化備份集大小優化
- 當Oracle9i的OPTIMIZER_MODE = FIRST_ROWS時EXP過慢的解決方法Oracle
- ORACLE9I升級到10G(zt)Oracle
- Oracle 最佳化引數 optimizer_mode 介紹Oracle
- [譯] 優化 Go 的模式優化Go模式
- 【譯】優化Go的模式優化Go模式
- oracle9i、10g、11g區別Oracle
- Oracle9i,.10g 閃回查詢(flashback)Oracle
- Oracle9i / 10g RAC 啟動與關閉Oracle
- Optimizer_mode引數
- 引數OPTIMIZER_MODE
- OPTIMIZER_MODE Initialization Parameter
- Oracle9i RAC 更改歸檔模式Oracle模式
- [書籍] Oracle Database 10g效能調整與優化OracleDatabase優化
- 10g Logical Standby的建立,優化及管理 - 更新優化
- Oracle9i, 10g 如何抓取繫結變數的值Oracle變數
- 【效能優化】CBO,RBO在ORACLE 10g 中的應用優化Oracle 10g
- oracle9i的rman全備在10g上的恢復Oracle
- Oracle9i, 10g Table monitoring 設定 及 STATISTIC_LEVELOracle
- 如何利用策略模式優化表單驗證模式優化
- 利用策略模式優化過多 if else 程式碼模式優化
- 中介模型以及優化查詢以及CBV模式模型優化模式
- 設定Oracle9i為自動歸檔模式Oracle模式
- Oracle9i,10g,11g 預設使用者統計Oracle
- Exception in thread "main" ,設定Oracle9i,10g環境變數ExceptionthreadAIOracle變數