Skip to main content
Version: 3.11

How to Scale ScalarDB

This guide explains how to scale ScalarDB. The contents of this guide assume that you used Scalar Helm Chart to deploy ScalarDB Cluster, which is the recommended way.

note

You might be able to resolve some performance issues by scaling ScalarDB Cluster if a bottleneck exists on the ScalarDB Cluster side. However, sometimes a performance issue is caused by a bottleneck in the backend databases. In such cases, scaling ScalarDB Cluster will not resolve the performance issue.

Instead, please check where the bottleneck exists. If the bottleneck exists in the backend databases, consider scaling the backend databases.

  1. Add the following to your custom values file, replacing <NUMBER_OF_PODS> with the number of pods you want to scale:

    scalardbCluster:
    replicaCount: <NUMBER_OF_PODS>
  2. Upgrade your ScalarDB Cluster deployment by running the following helm upgrade command, which uses the updated custom values file. Be sure to replace the contents in the angle brackets as described:

    helm upgrade <RELEASE_NAME> scalar-labs/scalardb-cluster -n <NAMESPACE> -f /<PATH_TO_YOUR_CUSTOM_VALUES_FILE_FOR_SCALARDB_CLUSTER> --version <CHART_VERSION>