Purpose
The oceanbase.CDB_OB_LS_HISTORY view displays the historical log streams of all tenants. You can query this view only from the sys tenant.
Note
This view is introduced since OceanBase Database V4.2.0 and is not supported in the current OceanBase Database version.
Columns
Column |
Type |
Nullable? |
Description |
|---|---|---|---|
| TENANT_ID | bigint(20) | NO | The ID of the tenant. |
| LS_ID | bigint(20) | NO | The ID of the log stream. |
| LS_GROUP_ID | bigint(20) | NO | The ID of the log stream group. |
| STATUS | varchar(100) | NO | The status of the log stream. Valid values:
|
| FLAG | varchar(2048) | NO | The flag of the log stream. Valid values:
|
| CREATE_SCN | decimal(20,0) | NO | The SCN when the log stream was created, in nanoseconds. |
