After initiating a major compaction for an instance in the OceanBase Cloud console, you can go to the instance workspace to view the major compaction records for that instance.
Prerequisites
A major compaction has been initiated for the target instance. For details on how to initiate a major compaction, see Initiate a major compaction.
Procedure
When viewing major compaction records, consider the following two scenarios:
Scenario 1: For cluster instances of version 3.x, you can view the three most recent major compaction records for the cluster instance through the cluster workspace.
Scenario 2: For cluster instances of version 4.x, you can view the three most recent major compaction records for all tenants under the cluster instance through the cluster workspace, or view the three most recent major compaction records for a specified tenant through the tenant workspace.
View major compaction records for a cluster instance
Log in to the OceanBase Cloud console.
In the left-side navigation pane, click Instances.
In the instance list, find the target cluster instance and click its name to enter the instance workspace.
On the instance workspace page, click Actions and select View Major Compaction Records.
You can view the three most recent major compaction records for the target cluster instance, including Compaction Started At, Compaction Ended At, Duration, Status, and Data Version Number.
View major compaction records for tenants under a cluster
Log in to the OceanBase Cloud console.
In the left-side navigation pane, click Instances.
In the instance list, find the target cluster instance and click its name to enter the instance workspace.
In the left-side navigation pane, click Tenants.
In the tenant management list, find the target tenant and click its name to enter the tenant workspace.
On the tenant workspace page, click Actions and select View Major Compaction Records.
You can view the three most recent major compaction records for the target tenant, including Compaction Started At, Compaction Ended At, Duration, Status, and Data Version Number.