Note
- This view is available starting with V4.4.0 for V4.4.x.
- This view is available starting with V4.3.5 BP1 for V4.3.5.
Purpose
This view displays the progress of converting tablets in the log stream of C replicas on all OBServer nodes of the current tenant to columnar storage.
Columns
| Column | Type | Nullable | Description |
|---|---|---|---|
| SVR_IP | VARCHAR2(46) | NO | The IP address of the server where the C replica is located. |
| SVR_PORT | NUMBER(38) | NO | The port number of the server where the C replica is located. |
| LS_ID | NUMBER(38) | NO | The log stream ID. |
| TOTAL_TABLET_CNT | NUMBER(38) | NO | The number of partitions to be converted to columnar storage. |
| AVAILABLE_TABLET_CNT | NUMBER | NO | The number of available partitions. |
| TOTAL_MACRO_BLOCK_CNT | NUMBER | NO | The total number of baseline macroblocks (ignoring multi-versions). |
| AVAILABLE_MACRO_BLOCK_CNT | NUMBER | NO | The number of available baseline macroblocks (ignoring multi-versions). |
| AVAILABLE | VARCHAR2(5) | NO | Indicates whether the log stream is fully available:
|
Sample query
Query the progress of converting tablets in the log stream of C replicas on all OBServer nodes of the current tenant to columnar storage.
obclient[SYS]> SELECT * FROM SYS.DBA_OB_CS_REPLICA_STATS;
The query result is as follows:
+----------------+----------+-------+------------------+----------------------+-----------------------+---------------------------+-----------+
| SVR_IP | SVR_PORT | LS_ID | TOTAL_TABLET_CNT | AVAILABLE_TABLET_CNT | TOTAL_MACRO_BLOCK_CNT | AVAILABLE_MACRO_BLOCK_CNT | AVAILABLE |
+----------------+----------+-------+------------------+----------------------+-----------------------+---------------------------+-----------+
| xx.xxx.xxx.212 | 63000 | 1001 | 133 | 133 | 875 | 875 | TRUE |
+----------------+----------+-------+------------------+----------------------+-----------------------+---------------------------+-----------+
1 row in set
Based on the query result, you can estimate the progress of converting rowstore to columnar storage by calculating the value of AVAILABLE_TABLET_CNT / TOTAL_TABLET_CNT or AVAILABLE_MACRO_BLOCK_CNT / TOTAL_MACRO_BLOCK_CNT.
