You can immediately initiate a major compaction for an idle tenant. When an error occurs during the major compaction of the tenant, you can perform troubleshooting, clear the error, and then continue the major compaction.
Prerequisites
You can initiate a major compaction only for a primary tenant. The major compaction for a standby tenant is automatically triggered after the standby tenant synchronizes the major compaction status of the primary tenant. You cannot manually initiate a major compaction for a standby tenant.
Initiate a major compaction
Log on to the OceanBase Cloud Platform (OCP) console.
In the left-side navigation pane, click Tenants.
In the Tenants list, find the target tenant and click its name.
In the left-side navigation pane of the page that appears, click Compaction Management.
In the Basic Information section of the Details of Major Compaction tab, make sure that Status is Tenant idle, and then click Initiate Major Compaction.

After a major compaction is initiated, the major compaction progress is displayed next to Status.
Continue the major compaction
When an error occurs during the major compaction of the tenant, perform troubleshooting and then click Clear Exceptions to clear the error flag and continue the major compaction.
Notice
When an error occurs during the major compaction, we recommend that you perform troubleshooting to locate the cause. If you clear the error flag without troubleshooting the error, the error scope may expand.