PLAN_TABLE PLAN_TABLE is automatically created as a global temporary table to hold(保存) the output of an EXPLAIN PLAN statement for all users.PLAN_TABL ...
PLAN_TABLE
PLAN_TABLE
is automatically created as a global temporary table to hold(保存) the output of an EXPLAIN PLAN
statement for all users.PLAN_TABLE
is the default sample(樣本) output table into which the EXPLAIN PLAN
statement inserts rows describing(描述) execution plans.
While a PLAN_TABLE
table is automatically set up for each user, you can use the SQL script utlxplan.sql
to manually create a local PLAN_TABLE
in your schema.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
Value of the optional |
|
|
|
Unique identifier of a plan in the database |
|
|
|
Date and time when the |
|
|
|
Any comment(註釋) (of up to 4000 bytes) you want to associate(關聯) with each step of the explained plan. This column is used to indicate whether an outline or SQL Profile was used for the query. If you need to add or change a remark on any row of the |
|
|
|
Name of the internal(內部) operation performed(執行) in this step. In the first row generated for a statement, the column contains one of the following values:
|
|
|
|
A variation(變動) on the operation described in the |
|
|
|
Name of the database link used to reference the object (a table name or view name). For local queries using parallel execution, this column describes the order in which output from operations is consumed(消費). |
|
|
|
Owner of the table or index |
|
|
|
Name of the table or index |
|
|
|
Unique alias(別名) of a table or view in a SQL statement. For indexes, it is the object alias of the underlying(底層) table. |
|
|
|
Number corresponding(對應的) to the ordinal position(順序數位置) of the object as it appears in the original statement. The numbering proceeds(往前) from left to right, outer to inner with respect(遵守) to the original statement text. View expansion results in unpredictable(不可預知的) numbers. |
|
|
|
Modifier that provides(提供) descriptive information about the object; for example, |
|
|
|
Current mode of the optimizer |
|
|
|
Not currently used |
|
|
|
A number assigned(分配) to each step in the execution plan |
|
|
|
ID of the next execution step that operates on the output of the |
|
|
|
Depth(深度) of the operation in the row source tree that the plan represents. The value can be used for indenting the rows in a plan table report(表示). |
|
|
|
For the first row of output, this indicates the optimizer's estimated cost(優化器估計的消耗) of executing the statement. For the other rows, it indicates the position relative(相對的) to the other children of the same parent. |
|
|
|
Cost of the operation as estimated by the optimizer's query approach(途徑). Cost is not determined for table access operations. The value of this column does not have any particular unit of measurement(測量特定的單位); it is merely(僅僅) a weighted value used to compare costs of execution plans. The value of this column is a function of the |
|
|
|
Estimate by the query optimization approach of the number of rows accessed by the operation |
|
|
|
Estimate by the query optimization approach of the number of bytes accessed by the operation |
|
|
|
Describes the contents of the
|
|
|
|
Start partition of a range of accessed partitions:
|
|
|
|
Stop partition of a range of accessed partitions:
|
|
|
|
Step that has computed the pair of values of the |
|
|
|
Other information that is specific to the execution step that a user might find useful (see the |
|
|
|
Provides extra information specific to an execution step of the execution plan. The content of this column is structured using XML since multiple pieces of information can be stored there. This includes:
|
|
|
|
Method used to distribute rows from producer query servers to consumer query servers See Also: Oracle Database Data Warehousing Guide for more information about consumer and producer query servers |
|
|
|
CPU cost of the operation as estimated by the query optimizer's approach. The value of this column is proportional to the number of machine cycles required for the operation. For statements that use the rule-based approach, this column is NULL. |
|
|
|
I/O cost of the operation as estimated by the query optimizer's approach. The value of this column is proportional to the number of data blocks read by the operation. For statements that use the rule-based approach, this column is NULL. |
|
|
|
Temporary space (in bytes) used by the operation as estimated by the query optimizer's approach. For statements that use the rule-based approach, or for operations that do not use any temporary space, this column is NULL. |
|
|
|
Predicates used to locate rows in an access structure. For example, start or stop predicates for an index range scan. |
|
|
|
Predicates used to filter rows before producing them |
|
|
|
Expressions produced by the operation |
|
|
|
Elapsed time (in seconds) of the operation as estimated by query optimization. For statements that use the rule-based approach, this column is NULL. |
|
|
|
Name of the query block (either system-generated or defined by the user with the |