Note
- For V4.4.x, this view is available starting with V4.4.0.
- For V4.3.5, this view is available starting with V4.3.5 BP1.
Purpose
This view displays the progress of converting tablets to columnar storage in the log streams of C replicas on all OBServer nodes of the current tenant.
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 total 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 (excluding multi-versioning). |
| AVAILABLE_MACRO_BLOCK_CNT | NUMBER | NO | The number of available baseline macroblocks (excluding multi-versioning). |
| AVAILABLE | VARCHAR2(5) | NO | Indicates whether the log stream is fully available:
|
Sample query
Query the progress of converting tablets to columnar storage in the log streams of C replicas on all OBServer nodes of the current tenant.
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
You can calculate the value of AVAILABLE_TABLET_CNT / TOTAL_TABLET_CNT or AVAILABLE_MACRO_BLOCK_CNT / TOTAL_MACRO_BLOCK_CNT to estimate the progress of converting rowstore to columnar storage.