Purpose
The GV$OB_COMPACTION_SUGGESTIONS view displays the suggestions on compactions.
Note
This view is introduced since OceanBase Database V4.0.0.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| SVR_IP | VARCHAR2(46) | NO | The IP address of the server. |
| SVR_PORT | NUMBER(38) | NO | The port number of the server. |
| TENANT_ID | NUMBER(38) | NO | The ID of the tenant. |
| TYPE | VARCHAR2(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. |
| TABLE_ID | NUMBER(38) | NO | The ID of the primary table. |
| LS_ID | NUMBER(38) | NO | The ID of the log stream. |
| TABLET_ID | NUMBER(38) | NO | The ID of the tablet. |
| START_TIME | TIMESTAMP(6) WITH LOCAL TIME ZONE | NO | The start time. |
| FINISH_TIME | TIMESTAMP(6) WITH LOCAL TIME ZONE | NO | The end time. |
| SUGGESTION | VARCHAR2(1024) | NO | The suggestions. |