All Products
Search
Document Center

ApsaraDB RDS:Modify read weight allocation

Last Updated:Mar 30, 2026

When read traffic is unevenly distributed across your read-only instances—such as when analytics or reporting queries compete with transactional workloads—you can assign custom weights to each instance at the read-only routing endpoint. The read-only routing endpoint automatically forwards read requests to secondary nodes or all involved read-only instances based on the configured weights. This lets you direct heavier workloads to higher-capacity instances, isolating them from write traffic and improving overall read/write splitting performance.

Prerequisites

Before you begin, make sure you have:

Modify read weights

  1. Log on to the ApsaraDB RDS console. On the Instances page, select the region where your instance resides, then click the instance ID.

  2. In the left-side navigation pane, click Cluster Management.

  3. In the Basic Information section, click Configure Readonly Splitting Address. In the dialog box that appears, set Read Weight to Customized Distribution and configure Distribution. Choose the distribution mode that fits your setup:

    Note

    A higher weight means the instance handles more read requests. For example, three read-only instances with weights 100, 200, and 200 process read traffic at a 1:2:2 ratio. If you delete a read-only instance, its weight is removed, but the weights of all other instances remain unchanged.

    Mode Behavior
    Automatic Distribution The system assigns weights based on instance specifications. Weights for new read-only instances are assigned automatically—no manual input required. See Rules of weight allocation by the system
    Customized Distribution Specify a weight for each instance. Valid values: 0–10,000. New read-only instances default to 0 and must be set manually
  4. Click OK.

What's next