VK Cloud logo

DB instance sharding

Adding a shard

  1. Go to the VK Cloud management console.

  2. Select the project where the desired DB instance is located.

  3. Go to Databases → Database instances.

  4. Click DB instance sharding for the desired DB instance and select Add shard.

  5. Set for the shard being added:

    • the shard name;
    • the number of replicas in the shard;
    • the virtual machine type;
    • the availability zone;
    • the disk type;
    • the disk size.
  6. If necessary:

    • For ClickHouse only: enable monitoring.
    • Enable and configure disk autoscaling.
  7. Click Expand cluster.

Scaling a shard

  1. Go to the VK Cloud management console.
  2. Select the project where the desired DB instance is located.
  3. Go to Databases → Database instances.
  4. Click DB instance sharding for the desired shard of the DB instance and select Scale shard.
  5. Set the number of hosts in the shard in the Number of nodes parameter.
  6. Click Confirm.

Deleting a host from a shard

The operation is available only for ClickHouse.

  1. Go to the VK Cloud management console.
  2. Select the project where the desired DB instance is located.
  3. Go to Databases → Database instances.
  4. Click DB instance sharding for the desired host of the DB instance shard and select Delete instance.
  5. Click Confirm.

Deleting a shard

The operation is available only for ClickHouse.

  1. Go to the VK Cloud management console.
  2. Select the project where the desired DB instance is located.
  3. Go to Databases → Database instances.
  4. Click DB instance sharding for the desired shard of the DB instance and select Delete shard.
  5. Click Confirm.
Was this article helpful?