DBA_OB_CHANGE_STREAM_REFRESH_STAT
Description
The DBA_OB_CHANGE_STREAM_REFRESH_STAT view reports Change Stream consumption progress and backlog for asynchronous indexes.
Introduced in: seekdb V1.3.0.
Privilege requirements
Querying this view requires the same privileges as other tenant-level DBA_ data dictionary views in the instance (run in a tenant context that can access the data dictionary).
Columns
| Column | Type | Description |
|---|---|---|
| REFRESH_SCN | BIGINT | The refresh position that has been advanced. 0 means it has not advanced or is not initialized. |
| MIN_DEP_LSN | BIGINT | Minimum dependent LSN of the Change Stream: the minimum log lower bound for transactions still being processed. |
| PENDING_TX_COUNT | BIGINT | Number of pending transactions in the Fetcher. |
| FETCH_TX | BIGINT | Transaction currently being processed in the Fetcher. |
| FETCH_LSN | BIGINT | LSN up to which clog has been consumed. |
| FETCH_SCN | BIGINT | SCN up to which clog has been consumed. |
Typical query
SELECT * FROM DBA_OB_CHANGE_STREAM_REFRESH_STAT;
Sample output (for reference):
+---------------------+-------------+------------------+----------+-----------+---------------------+
| REFRESH_SCN | MIN_DEP_LSN | PENDING_TX_COUNT | FETCH_TX | FETCH_LSN | FETCH_SCN |
+---------------------+-------------+------------------+----------+-----------+---------------------+
| 1774356436320910000 | 13419394 | 0 | 833 | 13424875 | 1774356436525297000 |
+---------------------+-------------+------------------+----------+-----------+---------------------+
1 row in set