Note
This view is available starting with V4.0.0.
Purpose
This view displays the outline history information of the current tenant, including the execution plans and throttling rules.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| CREATE_TIME | TIMESTAMP(6) | NO | The timestamp when the outline was created. |
| MODIFY_TIME | TIMESTAMP(6) | NO | The timestamp when the outline was last modified. |
| TENANT_ID | NUMBER(38) | NO | The tenant ID. |
| DATABASE_ID | NUMBER(38) | YES | The database ID. |
| OUTLINE_ID | NUMBER(38) | NO | The outline ID. |
| OUTLINE_NAME | VARCHAR2(128) | YES | The outline name. |
| SQL_TEXT | CLOB | YES | The SQL statement specified in the ON clause when the outline was created. |
| OUTLINE_PARAMS | VARBINARY(65536) | YES | The throttling rule parameters specified when the outline was created. |
| OUTLINE_TARGET | CLOB | YES | The SQL statement specified in the TO clause when the outline was created. |
| SQL_ID | VARCHAR2(32) | YES | The SQL identifier. |
| OUTLINE_CONTENT | CLOB | YES | The complete outline information. |
| IS_DELETED | VARCHAR2(3) | NO | Indicates whether the outline is deleted. |
| ENABLED | VARCHAR2(3) | NO | Indicates whether the outline is enabled. |
Sample query
Query the outline history information of the current tenant, including the execution plans and throttling rules.
obclient [SYS]> SELECT * FROM SYS.DBA_OB_OUTLINE_CONCURRENT_HISTORY\G
The query result is as follows:
*************************** 1. row ***************************
CREATE_TIME: 14-MAR-25 01.44.10.871760 PM
MODIFY_TIME: 14-MAR-25 01.44.10.871760 PM
TENANT_ID: 1004
DATABASE_ID: 201006
OUTLINE_ID: 500053
OUTLINE_NAME: IDX2
SQL_TEXT: SELECT/*+ INDEX(t1 idx2)*/ * FROM t1 WHERE c2 = 1
OUTLINE_PARAMS: xx
OUTLINE_TARGET: NULL
SQL_ID: NULL
OUTLINE_CONTENT: /*+BEGIN_OUTLINE_DATA INDEX(@"SEL$1" "SYS"."T1"@"SEL$1" "IDX2") OPTIMIZER_FEATURES_ENABLE('4.2.5.1') END_OUTLINE_DATA*/
IS_DELETED: NO
ENABLED: YES
*************************** 2. row ***************************
CREATE_TIME: 14-MAR-25 01.58.10.524252 PM
MODIFY_TIME: 14-MAR-25 01.58.10.524252 PM
TENANT_ID: 1004
DATABASE_ID: 201006
OUTLINE_ID: 500054
OUTLINE_NAME: OUTLINE1
SQL_TEXT: SELECT /*+NO_REWRITE*/ * FROM T1 WHERE c1 = 1 AND c2 = 3 ORDER BY 2
OUTLINE_PARAMS: xx
OUTLINE_TARGET: SELECT * FROM T1 WHERE c1 = 1 AND c2 = 3 ORDER BY 2
SQL_ID: NULL
OUTLINE_CONTENT: /*+BEGIN_OUTLINE_DATA INDEX(@"SEL$1" "SYS"."T1"@"SEL$1" "IDX2") OPTIMIZER_FEATURES_ENABLE('4.2.5.1') END_OUTLINE_DATA*/
IS_DELETED: NO
ENABLED: YES
2 rows in set