Google 會運用 AI 技術將內容翻譯成你偏好的語言,但可能會出錯。
升級執行個體的 Redis 版本
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
本頁面說明如何升級 Memorystore for Redis 執行個體的版本。如要查看可用版本清單,請參閱「支援的版本」。
升級執行個體版本
控制台
- 前往 Google Cloud 控制台的「Memorystore for Redis」頁面
Memorystore for Redis
- 按一下要升級的執行個體 ID
- 在「Configuration」(設定) 區段中,按一下「Redis Version」(Redis 版本) 旁的「UPGRADE」(升級)。
- 在對話方塊中點選「UPGRADE」(升級) 按鈕,即可升級執行個體
gcloud
如要升級執行個體的 Redis 版本,請輸入下列指令,並將 variables 替換成適當的值:
gcloud redis instances upgrade instance-id --redis-version=version --region=region
其中:
- instance-id 是執行個體 ID
- version 是要升級的版本:
- 可接受的值為:
redis_4_0、redis_5_0、redis_6_x、redis_7_0 和 redis_7_2
- region 是佈建執行個體的區域
例如:
gcloud redis instances upgrade myinstance --redis-version=redis_7_0 --region=us-central1
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2026-11-12 (世界標準時間)。
[[["容易理解","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-11-12 (世界標準時間)。"],[],[]]