Note
This view is introduced in V4.2.0.
Purpose
This view displays the log streams that existed in the tenant.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| LS_ID | NUMBER | NO | The ID of the log stream. |
| LS_GROUP_ID | NUMBER | NO | The ID of the log stream group. |
| STATUS | VARCHAR2(100) | NO | The current status of the log stream.
|
| FLAG | VARCHAR2(2048) | NO | The log stream flag.
|
| CREATE_SCN | NUMBER | NO | The GTS at which the log stream was created, in nanoseconds. |
Sample query
The following example shows how to query the log streams that existed in the user tenant.
obclient [SYS]> SELECT * FROM SYS.DBA_OB_LS_HISTORY;
The query result is as follows:
+-------+-------------+--------+------+---------------------+
| LS_ID | LS_GROUP_ID | STATUS | FLAG | CREATE_SCN |
+-------+-------------+--------+------+---------------------+
| 1 | 0 | NORMAL | NULL | 0 |
| 1001 | 1001 | NORMAL | NULL | 1736152507462028000 |
+-------+-------------+--------+------+---------------------+
2 rows in set