Perform a major compaction

2023-08-15 02:30:55  Updated

You can immediately trigger a major compaction when a tenant is idle. When an error occurs during the major compaction of the tenant, you can perform troubleshooting, clear the error, and then continue the major compaction.

Trigger a major compaction

  1. Log on to the OceanBase Cloud Platform (OCP) console.

  2. In the left-side navigation pane, click Tenants. The Tenants page automatically appears.

  3. In the Tenants list, find the target tenant and click its name.

  4. In the left-side navigation pane of the page that appears, click Compaction Management.

  5. 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.

    Perform major compaction

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.

Contact Us