Stay organized with collections
Save and categorize content based on your preferences.
Stopping a database cluster pauses the cluster to save resources. You can stop
and start database clusters with the Google Distributed Cloud (GDC) air-gapped console or with
the gdcloud CLI tool.
Console
From the main menu of the GDC console, choose Database Service.
Select the database cluster to start or stop.
Click STOP or START.
gdcloud CLI
Use the following command to stop a database cluster:
gdclouddatabaseclustersstopCLUSTER_NAME
Use the following command to start a database cluster:
gdclouddatabaseclustersstartCLUSTER_NAME
Replace the following:
CLUSTER_NAME with the name of the database cluster to start or
stop.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-25 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`)."]]