[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-09-04 UTC。"],[],[],null,["# Start and stop database clusters\n\nStopping a database cluster pauses the cluster to save resources. You can stop\nand start database clusters with the Google Distributed Cloud (GDC) air-gapped console or with\nthe gdcloud CLI tool. \n\n### Console\n\n1. From the main menu of the GDC console, choose **Database Service**.\n2. Select the database cluster to start or stop.\n3. Click **STOP** or **START**.\n\n### gdcloud CLI\n\nUse the following command to stop a database cluster: \n\n gdcloud database clusters stop \u003cvar translate=\"no\"\u003eCLUSTER_NAME\u003c/var\u003e\n\nUse the following command to start a database cluster: \n\n gdcloud database clusters start \u003cvar translate=\"no\"\u003eCLUSTER_NAME\u003c/var\u003e\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003eCLUSTER_NAME\u003c/var\u003e with the name of the database cluster to start or stop.\n\n### API\n\n kubectl patch dbcluster.\u003cvar translate=\"no\"\u003eDBENGINE_NAME\u003c/var\u003e.dbadmin.gdc.goog \u003cvar translate=\"no\"\u003eDBCLUSTER_NAME\u003c/var\u003e -p '{\"spec\":{\"primarySpec\": {\"isStopped\": \u003cvar translate=\"no\"\u003eIS_STOPPED\u003c/var\u003e}}}' --type=merge -n \u003cvar translate=\"no\"\u003eUSER_PROJECT\u003c/var\u003e\n\nReplace the following variables:\n\n- \u003cvar translate=\"no\"\u003eDBENGINE_NAME\u003c/var\u003e, the name of the database engine. This is one of `alloydbomni`, `postgresql`, or `oracle`.\n- \u003cvar translate=\"no\"\u003eDBCLUSTER_NAME\u003c/var\u003e, the name of the database cluster.\n- \u003cvar translate=\"no\"\u003eUSER_PROJECT\u003c/var\u003e, the name of the user project where the database cluster was created.\n- \u003cvar translate=\"no\"\u003eIS_STOPPED\u003c/var\u003e to indicate whether the database cluster should be stopped (`true`) or not (`false`)."]]