Updated on 2024-10-30 GMT+08:00

Adding Shards

Scenarios

This section describes how to add shards to a DB instance to suit your service requirements.

Precautions

  • Currently, only standard instances in cloud native deployment mode can be added.
  • Adding shards will trigger fast load balancing, which may cause a request timeout for a few seconds. Enable automatic retry for services.
  • You can only add shards when the instance status is Available or Checking restoration.
  • A DB instance cannot be deleted when one or more shards are being added.
  • After shards are successfully added, the system automatically expands the storage capacity (Number of new shards x Shard specification (GB)).
  • Currently, shards can be added only for cluster instances.

Method 1

  1. Log in to the GeminiDB console.
  2. In the service list, choose Databases > GeminiDB Redis API.
  3. On the Instances page, click the target instance.
  4. In the navigation pane, choose Shard Management.

    Figure 1 Shard management

  5. Click Add Shard. On the displayed page, select the number of shards to be added.

    New shards are of the same specifications as existing shards. Once a shard is added, its specification cannot be changed.

  6. On the displayed page, confirm the shard configuration.

    • Pay-per-use
      • To modify the configuration, click Previous to go back to the page where you specify details.
      • If you do not need to modify the configuration, click Submit.