執行計劃中cost, card的含義
card是指計劃中這一步所處理的行數。cost指cbo中這一步所耗費的資源,這個值是相對值。bytes指cbo中這一步所處理所有記錄的位元組數,是估算出來的一組值。 http://blog.itpub.net/post/385/45197[@more@]
■ Cost The cost assigned to each step of the query plan by the CBO. The CBO works by
generating many different execution paths/plans for the same query and assigns a cost to
each and every one. The query plan with the lowest cost wins. In the full outer join example,
we can see the total cost for this query is 10.
■ Card Card is short for Cardinality. It is the estimated number of rows that will flow out
of a given query plan step. In the full outer join example, we can see the optimizer expects
there to be 327 rows in EMP and 4 rows in DEPT.
■ Bytes The size in bytes of the data the CBO expects each step of the plan to return.
This is dependent on the number of rows (Card) and the estimated width of the rows.
generating many different execution paths/plans for the same query and assigns a cost to
each and every one. The query plan with the lowest cost wins. In the full outer join example,
we can see the total cost for this query is 10.
■ Card Card is short for Cardinality. It is the estimated number of rows that will flow out
of a given query plan step. In the full outer join example, we can see the optimizer expects
there to be 327 rows in EMP and 4 rows in DEPT.
■ Bytes The size in bytes of the data the CBO expects each step of the plan to return.
This is dependent on the number of rows (Card) and the estimated width of the rows.
看來,
card是指計劃中這一步所處理的行數。
cost指cbo中這一步所耗費的資源,這個值是相對值。
bytes指cbo中這一步所處理所有記錄的位元組數,是估算出來的一組值。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/14377/viewspace-925434/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 關於執行計劃中的%CPU的含義
- 計算表掃描中執行計劃的COST
- Oracle 執行計劃中一些引數的含義Oracle
- 引數Optimizer_index_cost_adj 對執行計劃的影響Index
- 看懂Oracle中的執行計劃Oracle
- oracle中執行計劃中的cardinalityOracle
- SQLSERVER中得到執行計劃的方式SQLServer
- MySQL中in(常量列表)的執行計劃MySql
- CBO,ORACLE,隱含引數,_sort_elimination_cost_ratio的含義Oracle
- sql執行計劃變更和刪除快取中執行計劃的方法SQL快取
- Python 中 5 種下劃線的含義Python
- 執行計劃-1:獲取執行計劃
- 分析執行計劃優化SQLORACLE的執行計劃(轉)優化SQLOracle
- oracle中開啟執行計劃Oracle
- 【執行計劃】Oracle獲取執行計劃的幾種方法Oracle
- 【Oracle】-【索引-HINT,執行計劃】-帶HINT的索引執行計劃Oracle索引
- 分析執行計劃最佳化SQLORACLE的執行計劃(轉)SQLOracle
- 執行計劃
- SQL的執行計劃SQL
- 執行計劃的理解.
- (4) MySQL中EXPLAIN執行計劃分析MySqlAI
- MySql中執行計劃如何來的——Optimizer TraceMySql
- oracle sqlprofile 固定執行計劃,並遷移執行計劃OracleSQL
- 【sql調優之執行計劃】獲取執行計劃SQL
- SYBASE執行計劃
- MySQL 執行計劃MySql
- MySQL執行計劃MySql
- sql 執行計劃SQL
- ORACLE執行計劃Oracle
- 生成執行計劃的方法
- rhel5 執行who -r的結果含義
- 執行計劃中Row 數量為0
- 在Oracle中,如何得到真實的執行計劃?Oracle
- Oracle 執行計劃中access 和 filter的區別OracleFilter
- MySQL中in(獨立子查詢)的執行計劃MySql
- explain執行計劃中的key_len的計算規則AI
- Oracle中檢視已執行sql的執行計劃OracleSQL
- Java中static的含義Java