Resizing Memory for a Cluster

OCI Cache supports changing the amount of memory per cluster node for an existing cluster if you need to scale up or down to meet application requirements.

If you decrease the amount of memory for a cluster, you need to ensure that the cluster is using less memory than the value you specify, otherwise you might lose data.
Note

You can only resize one configuration setting at a time, and you need to wait for a resize operation to complete before you can start a new resize operation.
    1. Open the navigation menu and click Databases. Under OCI Cache, click Clusters.

    2. Under List scope, select the compartment that contains the cluster.
    3. In the Clusters list, click the name of the cluster you want to adjust the memory per node for.

    4. On the cluster details page, click Resize memory.
    5. In Memory (GB) per node specify a number between the 2 and 500, and then click Resize. You can increase or decrease the amount of memory per node for a cluster.

  • Use the oci redis redis-cluster update command and required parameters to resize the memory per node for a cluster:

    oci redis redis-cluster update --redis-cluster-id cluster_ocid --node-memory-in-gbs memory [OPTIONS]
    For information about using the CLI, see Command Line Interface (CLI). For a complete list of flags and options available for CLI commands, see the CLI Command Reference.
  • For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.

    Run the UpdateRedisCluster operation to resize the memory per node for a cluster.