Note
This view is available starting with V4.4.1.
Purpose
The DBA_OB_TENANT_FLASHBACK_LOG_SCN view displays information about each log truncation in the current tenant.
Columns
| Column | Type | Nullable | Description |
|---|---|---|---|
| TENANT_ID | NUMBER(38) | NO | The tenant ID. |
| TIMESTAMP | TIMESTAMP(6) WITH LOCAL TIME ZONE | NO | The creation time, in microseconds. |
| SWITCHOVER_EPOCH | NUMBER(38) | NO | The SWITCHOVER_EPOCH value when the tenant role is switched to the NORMAL state. SWITCHOVER_EPOCH is a unique identifier for tenant role switching (Switchover/Failover) operations. |
| OP_TYPE | VARCHAR2(64) | NO | The operation type. Valid values:
|
| FLASHBACK_LOG_SCN | NUMBER(38) | NO | The end point of log truncation in the tenant. |
Sample query
Query information about each log truncation in the current tenant.
obclient(SYS@oracle001)[SYS]> SELECT * FROM SYS.DBA_OB_TENANT_FLASHBACK_LOG_SCN;
The query result is as follows:
+-----------+----------------------------+------------------+---------------------+---------------------+
| TENANT_ID | TIMESTAMP | SWITCHOVER_EPOCH | OP_TYPE | FLASHBACK_LOG_SCN |
+-----------+----------------------------+------------------+---------------------+---------------------+
| 1006 | 21-MAY-25 16:48:53.583749 | 1747817333380437 | FAILOVER TO PRIMARY | 1747817331313513000 |
+-----------+----------------------------+------------------+---------------------+---------------------+
1 row in set