This topic describs the storage management function.

Procedure

  1. Go to the Basic Information page of a database, and then click Storage Management in the left-side navigation pane. On the Storage Management page, you can perform regular O&M operations for dedicated ApsaraDB for RDS (RDS) instances, such as upgrading or downgrading specifications, adding or releasing read-only instances, and setting read policy.
  2. To set read/write splitting for an RDS instance, find the target instance and click Set Read Policy in the Actions column. In the dialog box that appears, select a read policy, set Read Traffic Ratio, and then click OK.
    • On the Capacity Management page, you can only set the read/write ratio on a per RDS instance basis. If your PolarDB-X 1.0 database covers more than one RDS instance, you must set a read/write ratio for each RDS instance.
    • When an RDS read-only instance needs to be released, you must set its read weight to 0 in the PolarDB-X 1.0 console. Otherwise, traffic will still be routed to this instance, causing execution failures.
    • Read/write splitting is implemented on a per PolarDB-X 1.0 database basis. If one RDS read-only instance is used by multiple PolarDB-X 1.0 databases, you must set the read weight of this instance to 0 in each PolarDB-X 1.0 database.
  3. After the settings are completed, connect to the PolarDB-X 1.0 database and run the SHOW NODE command to view the actual distribution of read traffic.