Purpose
The GV$OB_COMPACTION_DIAGNOSE_INFO view displays the compaction diagnostics.
Note
This view is introduced since OceanBase Database V4.0.0.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| SVR_IP | varchar(46) | NO | The IP address of the server. |
| SVR_PORT | bigint(20) | NO | The port number of the server. |
| TENANT_ID | bigint(20) | NO | The ID of the tenant. |
| TYPE | varchar(64) | NO | The compaction type. Valid values: MINI: minor or L0 compaction that converts MemTables into SSTables.MAJOR: major compaction.MINI MINOR: L1 compaction that combines multiple mini SSTables into one.BUF MINOR: buffer minor compaction that generates special buffer minor SSTables. |
| LS_ID | bigint(20) | NO | The ID of the log stream. |
| TABLET_ID | bigint(20) | NO | The ID of the tablet. |
| STATUS | varchar(15) | NO | The status of the task. |
| CREATE_TIME | timestamp(6) | NO | The time when the replica was created. |
| DIAGNOSE_INFO | varchar(1024) | NO | The diagnostic information. |