5.60 DBA_HIST_SQL_PLAN
DBA_HIST_SQL_PLAN
displays the execution plan information for each child cursor in the workload repository.
This view captures information from V$SQL_PLAN
and is used with the DBA_HIST_SQLSTAT
view.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Database ID |
|
|
|
SQL identifier of the parent cursor in the library cache |
|
|
|
Numerical representation of the SQL plan for the cursor. Comparing one |
|
|
|
A number assigned to each step in the execution plan |
|
|
|
Name of the internal operation performed in this step (for example, |
|
|
|
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 that use parallel execution, this column describes the order in which output from operations is consumed. |
|
|
|
Object number of the table or the index |
|
|
|
Name of the user who owns the schema containing the table or index |
|
|
|
Name of the table or index |
|
|
|
Alias for the object |
|
|
|
Type of the object |
|
|
|
Current mode of the optimizer for the first row in the plan (statement line), for example, |
|
|
|
ID of the next execution step that operates on the output of the current step |
|
|
|
Depth (or level) of the operation in the tree. It is not necessary to issue a |
|
|
|
Order of processing for all operations that have the same |
|
|
|
Number of index columns with start and stop keys (that is, the number of columns with matching predicates) |
|
|
|
Cost of the operation as estimated by the optimizer's cost-based approach. For statements that use the rule-based approach, this column is null. |
|
|
|
Estimate, by the cost-based optimizer, of the number of rows produced by the operation |
|
|
|
Estimate, by the cost-based optimizer, of the number of bytes produced 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 computes the pair of values of the |
|
|
|
Other information specific to the execution step that users may find useful. See |
|
|
|
Stores the method used to distribute rows from producer query servers to consumer query servers |
|
|
|
CPU cost of the operation as estimated by the optimizer's cost-based approach. For statements that use the rule-based approach, this column is null. |
|
|
|
I/O cost of the operation as estimated by the optimizer's cost-based approach. For statements that use the rule-based approach, this column is null. |
|
|
|
Temporary space usage of the operation (sort or hash-join) as estimated by the optimizer's cost-based approach. For statements that use the rule-based approach, 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 the optimizer's cost-based approach. For statements that use the rule-based approach, this column is null. |
|
|
|
Name of the query block |
|
|
|
Remarks |
|
|
|
Timestamp for when the plan was produced |
|
|
|
Provides extra information specific to an execution step of the execution plan. The content of this column is structured using XML because it allows multiple pieces of information to be stored, including the following:
|
|
|
|
The database ID of the PDB for the sampled session |
|
|
|
The ID of the container that
|
See Also: