This topic describes how to modify the auto-scaling strategy for the Binlog service in the OceanBase Cloud console.
Limitations
If you have purchased the Binlog service and configured the storage space through Auto-scaling, you can modify the auto-scaling strategy.
Procedure
Log in to the OceanBase Cloud console.
On the Instances page, click the name of the target instance to go to the Overview page of the instance.
In the left-side navigation pane, click Tenants. In the tenant list, click the name of the target MySQL-compatible tenant to go to the Overview page of the tenant.
In the left-side navigation pane, click Binlog.
On the Binlog page, click Resource Configuration > Storage. In the right-side panel, click Modify Auto-scaling Strategy.
In the Modify Auto-scaling Strategy dialog box, modify Scale-up Strategy and Scale-down Strategy as needed.
Modify the scale-up strategy
Parameter Description Threshold When the remaining storage space of the Binlog service is less than the configured value, a scale-up will be triggered by default. The default threshold is 20%. The unit can be GiB or a percentage. - If the unit is a percentage, the minimum value is 10%, the maximum value is 50%, and only integers are supported.
- If the unit is GiB, the minimum value is 1, the maximum value is 1024, and only integers are supported.
Increment The size of the storage space to be scaled up each time. The default value is 20%, and the unit is the same as the threshold. - If the unit is a percentage, the minimum value is 10%, the maximum value is 50%, and only integers are supported.
- If the unit is GiB, the minimum value is 1, the maximum value is 1024, and only integers are supported.
Upper Limit The maximum value of the Binlog service storage space that can be scaled up. When the storage space reaches this limit, no automatic scale-up will occur. The default value is 5000 GiB, with a minimum of 5 GiB and a maximum of 5000 GiB. Modify the scale-down strategy
Parameter Description Threshold When the remaining storage space of the Binlog service exceeds the configured value, a scale-down will be triggered by default. The default threshold is 50%, and the unit is the same as the threshold. - If the unit is a percentage, the minimum value is 10%, the maximum value is 90%, and only integers are supported.
- If the unit is GiB, the minimum value is 1, the maximum value is 1024, and only integers are supported.
Increment The size of the storage space to be scaled down each time. The default value is 20%, and the unit can be GiB or a percentage. - If the unit is a percentage, the minimum value is 10%, the maximum value is 50%, and only integers are supported.
- If the unit is GiB, the minimum value is 1, the maximum value is 1024, and only integers are supported.
Lower Limit The minimum value of the Binlog service storage space that can be scaled down. When the storage space reaches this limit, no automatic scale-down will occur. The default value is 10 GiB, with a minimum of 5 GiB and a maximum of 5000 GiB.
After the modifications are complete, click OK.