Note
This view was introduced in OceanBase Database V4.0.0.
Purpose
The GV$OB_TABLET_COMPACTION_PROGRESS view displays the progress of a tablet-level compaction.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| SVR_IP | varchar(46) | NO | The IP address of the OBServer node. |
| SVR_PORT | bigint(20) | NO | The port number of the OBServer node. |
| TENANT_ID | bigint(20) | NO | The ID of the tenant. |
| TYPE | varchar(64) | NO | The compaction type. Valid values:
|
| LS_ID | bigint(20) | NO | The ID of the log stream. |
| TABLET_ID | bigint(20) | NO | The ID of the tablet. |
| COMPACTION_SCN | bigint(20) unsigned | NO | The major compaction version. |
| TASK_ID | varchar(64) | NO | The execution trace. |
| STATUS | varchar(15) | NO | The status of the task. |
| DATA_SIZE | bigint(20) | NO | The total amount of data to scan. |
| UNFINISHED_DATA_SIZE | bigint(20) | NO | The remaining amount of data to scan. |
| PROGRESSIVE_COMPACTION_ROUND | bigint(20) | NO | The current compaction round in a progressive compaction. |
| CREATE_TIME | timestamp(6) | NO | The time when the task was created. |
| START_TIME | timestamp(6) | NO | The start time. |
| ESTIMATED_FINISH_TIME | timestamp(6) | NO | The estimated completion time. |