Note
- For V4.2.x, this view is available starting with V4.2.3.
- For V4.3.x, this view is available starting with V4.3.4.
Overview
The DBA_OB_FORMAT_OUTLINES view is used to record detailed information about the format outline of the current tenant.
Columns
Field |
Type |
Nullable |
Description |
|---|---|---|---|
| CREATE_TIME | TIMESTAMP(6) | NO | Represents the creation timestamp. |
| MODIFY_TIME | TIMESTAMP(6) | NO | Represents the modification timestamp. |
| TENANT_ID | NUMBER(38) | NO | Represents the tenant ID. |
| DATABASE_ID | NUMBER(38) | NO | The database ID. |
| OUTLINE_ID | NUMBER(38) | NO | Represents the execution plan outline ID. |
| DATABASE_NAME | VARCHAR2(128) | YES | The name of the database. |
| OUTLINE_NAME | VARCHAR2(128) | YES | Represents the name of the execution plan outline. |
| VISIBLE_SIGNATURE | CLOB | NO | Represents the deserialized result of Signature. |
| FORMAT_SQL_TEXT | CLOB | YES | Indicates that when creating the execution plan outline, inONgenerated by the SQL specified in theFORMAT SQL TEXT. |
| OUTLINE_TARGET | CLOB | NO | Indicates that when creating the execution plan outline, inTOThe SQL statement specified in the WHERE clause. |
| OUTLINE_SQL | CLOB | NO | SQL statements that contain complete execution plan outline information. |
| FORMAT_SQL_ID | VARBINARY(32) | YES | Indicates that the record has passed.FORMAT SQL TEXTThe generated MD5 value. |
| OUTLINE_CONTENT | CLOB | NO | Represents the complete execution plan outline information. |
Sample query
Query the information about the format outline of the current tenant.
obclient> SELECT * FROM SYS.DBA_OB_FORMAT_OUTLINES\G
The returned result is as follows:
*************************** 1. row ***************************
CREATE_TIME: 29-DEC-25 04.14.40.191146 PM
MODIFY_TIME: 29-DEC-25 04.14.40.191146 PM
TENANT_ID: 1004
DATABASE_ID: 201006
OUTLINE_ID: 500004
DATABASE_NAME: SYS
OUTLINE_NAME: MY_OUTLINE
VISIBLE_SIGNATURE: SELECT * FROM EMPLOYEES WHERE DEPARTMENT_ID > = ?
FORMAT_SQL_TEXT: SELECT * FROM employees WHERE department_id >= 10
OUTLINE_TARGET:
OUTLINE_SQL:
FORMAT_SQL_ID: NULL
OUTLINE_CONTENT: /*+BEGIN_OUTLINE_DATA FULL(@"SEL$1" "SYS"."EMPLOYEES"@"SEL$1") OPTIMIZER_FEATURES_ENABLE('4.2.5.0') END_OUTLINE_DATA*/
1 row in set
