Skip to main content
VeloDB Cloud 26.x·Apache Doris 4.x (≤ 4.0 supported)·"Since X.Y" tags refer to Doris versionsversion mapping →

Time-Based Scaling

Time-based scaling is suitable for predictable, recurring workloads. For example, if business traffic regularly peaks during the day and drops at night, you can configure a scaling policy that adjusts cluster compute resources at fixed times.

A scaling policy requires at least two rules with different target vCPU values. This lets VeloDB Cloud perform periodic scale-out and scale-in actions to handle business peaks and lows.

Configure a time-based scaling policy

  1. Open Compute from the Manage group in the left navigation.
  2. On the Cluster Overview page, click the target cluster card to open the cluster Details page.
  3. In On-Demand Resources, click Scale Out/In -> Time-based scaling.
  4. Add at least two rules with different target vCPU values.
  5. Confirm that the rule execution times do not overlap.
  6. Enable the policy.

cluster scaling time based en

Rules and limitations

Note

  • SaaS free-trial clusters do not support scaling.
  • On-demand clusters cannot have a rule with a target vCPU of 0.
  • Rules execute only while the cluster is running normally. When the cluster is paused, rebooting, or upgrading, the rule waits for a retry; if it cannot execute within 30 minutes, it is skipped.
  • If the organization does not have enough cash balance or a cloud-marketplace deduction channel, the rule is invalidated.
  • The schedule is fixed to daily; editing the period is not supported.
  • Rules must be at least one hour apart, so at most 23 rules per cluster.
  • Rule execution times cannot overlap with existing rules.
  • Scaling may cause some requests to crash or be delayed.
  • When scaling in, cache space shrinks proportionally with compute (vCPU), and data in excess is evicted. Some requests may be noticeably slower during this period.