A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cloud.google.com/sql/docs/postgres/using-ood-recommender below:

Monitor disk availability | Cloud SQL for PostgreSQL

Monitor disk availability

Stay organized with collections Save and categorize content based on your preferences.

The Cloud SQL out-of-disk recommender proactively generates recommendations that help you reduce the risk of downtime that might be caused by your instances running out of disk space. You can apply these recommendations when a Cloud SQL instance is trending toward a storage limit. This page describes how this recommender works and how to use it.

How it works

The Cloud SQL out-of-disk recommender analyzes the storage utilization trend over the last 30 days. When an instance is trending toward a limit where it's likely to run out of space within the next 1 to 30 days, the recommender generates related recommendations to manually increase the storage capacity, set the storage capacity to automatically increase, or free up space.

Pricing

The Cloud SQL out-of-disk recommender is included in the Standard Google Cloud support package.

Before you begin

Before you can view recommendations and insights, do the following:

List out-of-disk recommendations

You can list out-of-disk instance recommendations by using the Google Cloud console, gcloud, or the Recommender API.

Out-of-disk recommendations are shown only if you have instances that are nearing disk capacity.

Console

To list out-of-disk recommendations by using the Google Cloud console, follow these steps:

  1. Go to the Cloud SQL Instances page.

    Go to Cloud SQL Instances

  2. Click View all on the out-of-disk recommendations banner.

Alternatively, follow these steps:

  1. Go to the Recommendation Hub. See also Getting started with Recommendation Hub.

    Go to the Recommendation Hub

  2. In the Prevent Downtime for SQL instances card, click View all.

gcloud

To list out-of-disk recommendations by using gcloud, run the gcloud recommender recommendations list command as follows:

gcloud recommender recommendations list \
--project=PROJECT_ID \
--location=LOCATION \
--recommender=google.cloudsql.instance.RECOMMENDER

Replace the following:

API

To list out-of-disk recommendations by using the Recommendations API, call the recommendations.list method as follows:

GET https://recommender.googleapis.com/v1beta1/projects/PROJECT-ID/locations/LOCATION/recommenders/google.cloudsql.instance.RECOMMENDER/recommendations

Replace the following:

View insights and detailed recommendations

You can view insights and detailed recommendations about instances that are nearly out of disk space by using the Google Cloud console, gcloud, or the Recommender API.

Console

To view insights and detailed recommendations about instances that are nearly out of disk space by using the Google Cloud console, click the recommendation button in the list of instances.

gcloud

To view insights and detailed recommendations about instances that are nearly out of disk space by using gcloud, run the gcloud recommender insights list command as follows:

gcloud recommender insights list \
--project=PROJECT_ID \
--location=LOCATION \
--insight-type=google.cloudsql.instance.INSIGHT_TYPE

Replace the following:

API

To view insights and detailed recommendations about instances that are nearly out of disk space by using the Recommendations API, call the insights.list method as follows:

GET https://recommender.googleapis.com/v1beta1/projects/PROJECT-ID/locations/LOCATION/insightTypes/google.cloudsql.instance.INSIGHT_TYPE/insights

Replace the following:

The following table lists the insight and recommendation that the Cloud SQL out-of-disk recommender generates. The subtypes are visible in the gcloud and API results.

Insight Recommendation Based on the current storage use trend, the instance is likely to run out of disk space, which can result in downtime.
Subtype: TRENDING_OUT_OF_DISK Enable auto grow, manually increase storage capacity, or free up disk space.
Subtype: ENABLE_AUTO_STORAGE_INCREASE Apply recommendations

Evaluate the recommendations carefully and do any of the following:

What's next

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-14 UTC.

[[["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-07-14 UTC."],[],[]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4