Google 會運用 AI 技術將內容翻譯成你偏好的語言,但可能會出錯。
調整副本數量
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
本頁面說明如何調整叢集的副本數量。
更新副本數量
只要更新副本數量,即可調度叢集資源。
控制台
在 Google Cloud 控制台中,前往「Memorystore for Redis Cluster」頁面。
Memorystore for Redis Cluster
按一下要調整資源配置的叢集 ID。
捲動至「Configurations」(設定) 部分。
按一下「Replicas per shard」(每個 shard 的副本數) 欄位旁的「Edit replica count」(編輯副本數量) 圖示 edit。
從「Replicas」(副本) 選單中,選取叢集所需的副本數量。每個 shard 可選取 0 到 5 個副本。
按一下「Update cluster」(更新叢集)。
gcloud
如要更新副本數量,請使用 gcloud redis clusters update 指令:
gcloud redis clusters update CLUSTER_ID \
--region=REGION_ID \
--replica-count=REPLICA_COUNT
請依指示取代下列項目:
- CLUSTER_ID:叢集 ID。
- REGION_ID:叢集所在的區域。
- REPLICA_COUNT:叢集所需的副本數量 (每個 shard)。可接受的值為
0-5。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2026-10-28 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2026-10-28 (世界標準時間)。"],[],[]]