Help Center/ TaurusDB/ User Guide/ Serverless Instances/ Configuring Custom Scale-Up Policies for a Serverless Instance (OBT)
Updated on 2025-10-29 GMT+08:00

Configuring Custom Scale-Up Policies for a Serverless Instance (OBT)

Scenarios

You can configure custom scale-up policies and increments for a serverless instance. In this way, you can effectively control the conditions for triggering a compute scale-up. You can configure scale-up policies for CPU usage and memory usage. You can configure up to two custom scale-up policies for CPU usage and memory usage respectively, with at least one policy required for each of them.

If no custom scale-up policies are configured, the default scale-up policies will be used.

Usage Notes

To configure custom scale-up policies for a serverless instance, submit a service ticket.

Billing

After the compute is scaled up, the new compute is billed based on actual usage. For details, see Product Pricing Details.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select a region and project.
  3. Click in the upper left corner of the page and choose Databases > TaurusDB.
  4. On the Instances page, click the instance name to go to the Basic Information page.
  5. In the Serverless Information area, click Configure under Scaling Type.

    Figure 1 Changing serverless information

  6. In the displayed dialog box, enable Custom Expansion Policy and Customized expansion step, customize policies for CPU usage and memory usage, and set Step length threshold.

    Figure 2 Configuring custom scale-up policies

    Figure 3 Configuring the custom scale-up increment

    Table 1 Parameter description

    Parameter

    Description

    Metric Name

    Only CPU usage and memory usage are supported.

    Metric Value

    If the metric value remains above the threshold within the specified duration, the compute will be scaled up.

    Value range: 60% to 80%

    Duration

    If the metric value remains above the threshold for the specified duration or longer, the compute will be scaled up.

    Value range: 2s to 5s

    Interval time

    This parameter specifies the time elapsed since the last scale-up.

    Value range: 1s to 5s

    Step length threshold

    This parameter specifies the increment (in TCUs) for each scale-up. 1 TCU is approximately equal to 1 CPU and 2 GB of memory.

    If the conditions are met, the compute will be scaled up by this increment. If no increment is configured, the current compute will be used as the scale-up increment by default.

    Value range: 2 to half of the maximum compute

  7. Click OK.