Help Center/ Distributed Cache Service/ FAQs/ Instance Scaling and Upgrade/ How Do I Add Shards to a Cluster DCS Redis Instance Without Changing the Memory?
Updated on 2022-09-15 GMT+08:00

How Do I Add Shards to a Cluster DCS Redis Instance Without Changing the Memory?

After a Proxy Cluster or Redis Cluster instance is created, you can reduce the capacity of each shard and add more shards without changing the total memory.

For example, if an 8 GB instance has 4 shards and each shard is 2 GB, you can reduce the shard size to 1 GB and increase the shard quantity to 8.

A shard size of 1 GB cannot be changed.

Procedure

  1. Log in to the management console, and choose Application > Distributed Cache Service in the service list.
  2. Click in the upper left corner to select a region and a project.
  3. In the navigation pane, choose Cache Manager.
  4. Choose More > Modify Specifications in the row containing the desired DCS instance.
  5. On the displayed Modify Instance Specifications page, specify Shard Size and Instance Specification.

    Figure 1 Selecting a shard size

  6. Click Next, confirm the details, and click Submit.

    The modification takes about 5 to 30 minutes to complete. After the modification is successful, the instance status changes to Running.