4.304 DBA_HIST_COLORED_SQL
DBA_HIST_COLORED_SQL displays the SQL IDs that have been marked for AWR SQL capture.
If a SQL statement is colored using the DBMS_WORKLOAD_REPOSITORY.ADD_COLORED_SQL procedure, then AWR will always capture the SQL statistics for the colored SQL ID. A SQL statement can be removed from coloring using the DBMS_WORKLOAD_REPOSITORY.REMOVE_COLORED_SQL procedure.
| Column | Datatype | NULL | Description |
|---|---|---|---|
|
|
|
|
Database ID |
|
|
|
|
SQL ID of colored SQL statement |
|
|
|
|
Time the SQL ID was colored |
|
|
|
|
The ID of the container to which the data pertains. Possible values include:
|
See Also:
Oracle Database PL/SQL Packages and Types Reference for more information about the DBMS_WORKLOAD_REPOSITORY package.