Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Halaman ini menjelaskan cara menskalakan instance Memorystore for Redis. Untuk mengetahui informasi selengkapnya tentang perilaku instance selama penskalaan, lihat Perilaku penskalaan instance.
Praktik terbaik untuk menskalakan instance
Sebaiknya ekspor
data instance Anda sebelum menskalakan operasi.
Untuk instance Paket Standar, guna meningkatkan kecepatan dan keandalan operasi penskalaan, lakukan penskalaan instance selama periode traffic instance rendah. Untuk mempelajari cara memantau traffic instance, lihat Memantau instance Redis.
Saat mengurangi kapasitas instance Tingkat Standar, Anda harus memilih ukuran yang lebih besar dari jumlah data yang disimpan atau penskalaan akan gagal.
Misalnya, jika Anda memiliki instance 10 GB yang menyimpan data sebesar 5,5 GB, Anda dapat mengubah ukuran instance menjadi minimal 6 GB. Jumlah penyimpanan yang digunakan instance Anda dapat dilihat di halaman detailnya di konsolGoogle Cloud .
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-08-19 UTC."],[],[],null,["# Scale Redis instances\n\n| **Note:** If you are looking for the Memorystore for Redis Cluster documentation, see [Scale instance capacity](/memorystore/docs/cluster/scale-instance-capacity).\n\nThis page describes how to scale Memorystore for Redis instances. For more\ninformation about an instance's behavior during scaling, see [Instance scaling behavior](/memorystore/docs/redis/scaling-behavior).\n\nBest practices for scaling an instance\n--------------------------------------\n\n- We recommend [exporting](/memorystore/docs/redis/export-data)\n your instance data before scaling your operation.\n\n- For Standard Tier instances, to increase the speed and reliability of\n your scaling operation, scale your instance during periods of low instance\n traffic. To learn how to monitor instance traffic, see [Monitoring Redis instances](/memorystore/docs/redis/monitoring-instances).\n\n- When reducing a Standard Tier instance's capacity, you must choose a size\n greater than the amount of data being stored or scaling fails.\n\n - For example, if you have a 10 GB instance that has 5.5 GB of data stored in it, you can resize the instance to a minimum of 6 GB. The amount of storage your instance uses is visible on its details page in the Google Cloud console.\n\nInstance scaling instructions\n-----------------------------\n\n### Console\n\n1. Go to the Memorystore for Redis page in the Google Cloud console. \n [Memorystore for Redis](https://console.cloud.google.com/memorystore/redis/instances?)\n2. Click the Instance ID of the instance you want to resize.\n3. Click **Edit**.\n4. Under **Capacity**, enter a new size in the field to update the instance's capacity.\n5. Click **Save**.\n\n### Gcloud\n\nEnter the following command, replacing \u003cvar translate=\"no\"\u003evariables\u003c/var\u003e with appropriate\nvalues:\n\n\u003cbr /\u003e\n\n```\ngcloud redis instances update instance-id --region=region-id --size=size\n```\n\n\u003cbr /\u003e\n\nWhere:\n\n- \u003cvar translate=\"no\"\u003einstance-id\u003c/var\u003e is your instance ID.\n- \u003cvar translate=\"no\"\u003eregion-id\u003c/var\u003e is the region ID.\n- \u003cvar translate=\"no\"\u003esize\u003c/var\u003e is the desired instance size in gibibytes (GiB).\n\nFor example: \n\n```\n gcloud redis instances update myinstance --region=us-central1 --size=100\n```"]]