Resizing Memory for an OCI Cache Cluster

Change the memory allocation for an OCI Cache 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. On the Clusters list page, find the cluster that you want to work with. If you need help finding the list page or the cluster, see Listing OCI Cache Clusters.
    2. From the Actions menu for the cluster, select Resize memory.
    3. In the Resize memonry dialog box, enter a number between the 2 and 500.
    4. Select Resize.
  • Use the oci redis redis-cluster redis-cluster update command and required parameters to resize the memory per node for a cluster:

    oci redis redis-cluster redis-cluster update --redis-cluster-id <cluster_OCID> --node-memory-in-gbs <memory_in_gigabytes> [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.
  • Run the UpdateRedisCluster operation to resize the memory per node for a cluster.