ALL_SQLSET_PLANS
describes captured plans for statements in the SQL tuning sets accessible to the current user.
Related Views
DBA_SQLSET_PLANS
describes captured plans in the SQL tuning sets in the database.
USER_SQLSET_PLANS
describes captured plans for statements in the SQL tuning sets owned by the current user. This view does not display the SQLSET_OWNER
column.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Name of SQL tuning set for the statement |
|
|
User name of SQL tuning set owner |
|
|
|
|
ID of SQL tuning set for the statement |
|
|
|
The database ID of the PDB |
|
|
|
SQL identifier of the parent cursor in the library cache |
|
|
|
The signature used when the |
|
|
|
Numerical representation of the SQL plan for the cursor. Comparing one |
|
|
|
SQL sequence |
|
|
Statement ID |
|
|
|
Plan ID |
|
|
|
Date and time timestamp |
|
|
|
Remarks |
|
|
|
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. |
|
|
|
Name of the user who owns the schema containing the table or index |
|
|
|
Name of the table or index |
|
|
|
Alias for the object |
|
|
|
Instance number for the object |
|
|
|
Type of the object |
|
|
|
Current mode of the optimizer for the first row in the plan (statement line), for example, |
|
|
|
Number of index columns with start and stop keys (that is, the number of columns with matching predicates) |
|
|
|
|
A number assigned to each step in the execution plan |
|
|
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 |
|
|
|
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, made by the cost-based optimizer, of the number of rows produced by the operation |
|
|
|
Estimate, made 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. For information about values, see Oracle Database SQL Tuning Guide. |
|
|
|
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 |
|
|
|
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:
For further information about values, see Oracle Database SQL Tuning Guide. |
|
|
|
Number of times the plan has been executed |
|
|
|
Number of times this operation has been started, accumulated over the past executions |
|
|
|
Number of rows produced by the row source, accumulated over the past executions |
|
|
|
Number of buffers received in consistent mode, accumulated over the past executions. Buffers are usually retrieved in consistent mode for queries. |
|
|
|
Number of buffers retrieved in current mode, accumulated over the past executions. Buffers are retrieved in current mode for statements such as |
|
|
|
Number of physical disk reads performed by the operation, accumulated over the past executions |
|
|
|
Number of physical disk writes performed by the operation, accumulated over the past executions |
|
|
|
Elapsed time (in microseconds) corresponding to this operation, accumulated over the past executions |
|
|
|
Number of times this operation has been started, during the last execution |
|
|
|
Number of rows produced by the row source, during the last execution |
|
|
|
Number of buffers retrieved in consistent mode, during the last execution. Buffers are usually retrieved in consistent mode for queries. |
|
|
|
Number of buffers retrieved in current mode, during the last execution. Buffers are retrieved in current mode for statements such as |
|
|
|
Number of physical disk reads performed by the operation, during the last execution |
|
|
|
Number of physical disk writes performed by the operation, during the last execution |
|
|
|
Elapsed time (in microseconds) corresponding to this operation, during the last execution |
|
|
|
Sizing policy for this work area:
|
|
|
|
Estimated size (in KB) required by this work area to execute the operation completely in memory (optimal execution). This is either derived from optimizer statistics or from previous executions. |
|
|
|
Estimated size (in KB) required by this work area to execute the operation in a single pass. This is either derived from optimizer statistics or from previous executions. |
|
|
|
Memory size (in KB) used by this work area during the last execution of the cursor |
|
|
|
Indicates whether this work area ran using |
|
|
|
Degree of parallelism used, during the last execution of the cursor |
|
|
|
Number of times this work area was active |
|
|
|
Number of times this work area ran in optimal mode |
|
|
|
Number of times this work area ran in one pass mode |
|
|
|
Number of times this work area ran below the one pass memory requirement |
|
|
|
Average time this work area is active (in hundredths of a second) |
|
|
|
Maximum temporary segment size (in bytes) created by an instantiation of this work area. This column is null if this work area has never spilled to disk. |
|
|
|
Temporary segment size (in bytes) created in the last instantiation of this work area. This column is null if the last instantiation of this work area did not spill to disk. |
See Also: