Skip to main content
Version: V1.4.1

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​

ColumnTypeDescription
REFRESH_SCNBIGINTThe refresh position that has been advanced. 0 means it has not advanced or is not initialized.
MIN_DEP_LSNBIGINTMinimum dependent LSN of the Change Stream: the minimum log lower bound for transactions still being processed.
PENDING_TX_COUNTBIGINTNumber of pending transactions in the Fetcher.
FETCH_TXBIGINTTransaction currently being processed in the Fetcher.
FETCH_LSNBIGINTLSN up to which clog has been consumed.
FETCH_SCNBIGINTSCN 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

References​