Cloud SQL 고가용성 사용 설정 추천자는 데이터 중복을 제공하여 SLA 내에서 중요한 인스턴스를 가져오는 데 도움이 될 추천을 사전에 생성합니다. 영역 서비스 중단 발생 시 또는 인스턴스에 메모리가 부족할 때 유용할 수 있습니다.
이 페이지에서는 Cloud SQL 고가용성 사용 설정 추천자, 이 추천자의 작동 방식, 사용 방법을 설명합니다.
작동 원리
Cloud SQL 고가용성 사용 설정 추천자는 인스턴스 메타데이터를 분석합니다. 인스턴스가 중요 워크로드를 지원하는 인스턴스와 유사하게 구성되었지만 고가용성이 사용 설정되지 않은 경우 Cloud SQL에서는 99.95% 가용성 SLA가 적용되는 고가용성을 사용 설정하거나 99.99% 가용성 SLA가 적용되는 고가용성을 갖춘 Cloud SQL Enterprise Plus 버전으로 마이그레이션하도록 추천합니다.
가격 책정
Cloud SQL 고가용성 사용 설정 추천자는 모든 Google Cloud 고객에게 무료로 제공됩니다.
자세한 내용은 추천자 가격 책정을 참조하세요.
GET https://recommender.googleapis.com/v1beta1/projects/PROJECT-ID/locations/LOCATION/recommenders/google.cloudsql.instance.ReliabilityRecommender/recommendations
다음을 바꿉니다.
PROJECT_ID: 프로젝트 ID
LOCATION: 인스턴스가 있는 리전(예: us-central1)
통계 및 자세한 권장사항 보기
콘솔
중요 워크로드를 지원하는 인스턴스와 유사하게 구성되었지만 고가용성이 사용 설정되지 않은 인스턴스에 대한 통계와 추천을 자세히 살펴보려면 인스턴스 목록에서 추천 링크를 클릭합니다.
중요 워크로드를 지원하는 인스턴스와 유사하게 구성되었지만 Recommendations API를 사용해 고가용성이 사용 설정되지 않은 인스턴스에 대한 통계와 추천을 자세히 살펴보려면 다음과 같이 insights.list 메서드를 호출합니다.
GET https://recommender.googleapis.com/v1beta1/projects/PROJECT-ID/locations/LOCATION/insightTypes/google.cloudsql.instance.ReliabilityInsight/insights
다음을 바꿉니다.
PROJECT_ID: 프로젝트 ID
LOCATION: 인스턴스가 있는 리전(예: us-central1)
다음 표에는 Cloud SQL 고가용성 사용 설정 추천자가 생성하는 통계와 추천이 나와 있습니다. 하위 유형은 gcloud CLI 및 API 결과에 표시됩니다.
Insight
권장사항
이 인스턴스는 중요한 워크로드를 지원하는 인스턴스와 유사하게 구성되어 있지만 가용성이 높지 않습니다. 단일 영역 인스턴스는 다운타임에 더 취약합니다.
하위 유형: CRITICAL_INSTANCE_HIGH_AVAILABILITY_NOT_ENABLED
99.95% 가용성 SLA가 적용되는 고가용성을 사용 설정하거나, 또는 더 높은 99.99% 가용성 SLA가 적용되는 고가용성을 갖춘 Cloud SQL Enterprise Plus 버전으로 마이그레이션하세요. 고가용성을 사용 설정하면 인스턴스를 멀티 영역으로 만들어 한 리전 내에서 데이터를 복제하여 영역별 서비스 중단으로부터 보호하고 다운타임을 제한하며 복구 시간을 개선할 수 있습니다.
하위 유형: ENABLE_HIGH_AVAILABILITY
[[["이해하기 쉬움","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-08-14(UTC)"],[],[],null,["# Improve instance reliability by enabling high availability\n\n\u003cbr /\u003e\n\nMySQL \\| [PostgreSQL](/sql/docs/postgres/recommender-enable-ha \"View this page for the PostgreSQL database engine\") \\| [SQL Server](/sql/docs/sqlserver/recommender-enable-ha \"View this page for the SQL Server database engine\")\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n|\n| **Preview**\n|\n|\n| This feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n\nThe Cloud SQL enable-high-availability [recommender](/recommender/docs/overview)\nproactively generates recommendations that help you bring your important\ninstances within SLA by providing data redundancy. This might\nbe helpful during a zonal outage or when an instance runs out of memory.\n\nThis page describes the Cloud SQL enable-high-availability recommender, how this\nrecommender works, and how to use it.\n\nHow it works\n------------\n\nThe Cloud SQL enable-high-availability recommender analyzes the instance metadata. If the instance\nis configured similar to instances that support important workloads but doesn't\nhave high availability enabled, then Cloud SQL recommends that you enable high\navailability for 99.95% availability SLA, or migrate to Cloud SQL Enterprise Plus edition with high\navailability for 99.99% availability SLA.\n| **Note:** Recommendations are generated daily.\n\nPricing\n-------\n\nThe Cloud SQL enable-high-availability recommender\nis available free of cost to all Google Cloud customers.\nFor more information, see [Recommender pricing](/recommender/pricing).\n\nBefore you begin\n----------------\n\nBefore you can view recommendations and insights, do the following:\n\n- To get the permissions to view and work with insights and recommendations, ensure that you have the required [Identity and Access Management (IAM) roles](/sql/docs/mysql/project-access-control#roles).\n\n For more information about IAM roles, see [IAM basic and predefined roles reference](/iam/docs/understanding-roles) and [Manage access to projects, folders, and organizations](/iam/docs/granting-changing-revoking-access).\n-\n\n\n Enable the Recommender API.\n\n\n [Enable the API](https://console.cloud.google.com/flows/enableapi?apiid=recommender.googleapis.com)\n\nList enable-high-availability recommendations\n---------------------------------------------\n\n### Console\n\nTo list enable-high-availability recommendations by using the\nGoogle Cloud console, follow these steps:\n\n1. Go to the **Recommendation Hub**.\n\n [Go to the Recommendation Hub](https://console.cloud.google.com/home/recommendations/)\n\n For more information, see\n [Getting started with Recommendation Hub](/recommender/docs/recommendation-hub/identify-configuration-problems).\n2. In the **Improve reliability on Cloud SQL instances** card, click **View all**.\n\n### gcloud\n\nTo list enable-high-availability recommendations by using gcloud CLI, run the\n[`gcloud recommender recommendations list`](/sdk/gcloud/reference/recommender/recommendations/list)\ncommand as follows: \n\n```\ngcloud recommender recommendations list \\\n--project=PROJECT_ID \\\n--location=LOCATION \\\n--recommender=google.cloudsql.instance.ReliabilityRecommender \\\n--filter=recommenderSubtype=ENABLE_HIGH_AVAILABILITY\n\n```\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: Your project ID.\n- \u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e: A [region](/docs/geography-and-regions) where your instances are located, such as `us-central1`.\n\n### API\n\nTo list enable-high-availability recommendations by using the\n[Recommendations API](/recommender/docs/using-api), call the\n[`recommendations.list`](/recommender/docs/reference/rest/v1beta1/projects.locations.recommenders.recommendations/list)\nmethod as follows: \n\n```\nGET https://recommender.googleapis.com/v1beta1/projects/PROJECT-ID/locations/LOCATION/recommenders/google.cloudsql.instance.ReliabilityRecommender/recommendations\n```\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: Your project ID.\n- \u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e: A region where your instances are located, such as `us-central1`.\n\nView insights and detailed recommendations\n------------------------------------------\n\n### Console\n\nTo view insights and detailed recommendations about instances that are\nconfigured similar to instances that support important workloads but\ndon't have\nhigh availability enabled, click the recommendation link in the list of\ninstances.\n\n### gcloud\n\nTo view insights and detailed recommendations about instances that are configured similar to instances that support important workloads but don't have\nhigh availability enabled, run the\n[`gcloud recommender insights list`](/sdk/gcloud/reference/recommender/insights/list)\ncommand as follows: \n\n```\ngcloud recommender insights list \\\n--project=PROJECT_ID \\\n--location=LOCATION \\\n--insight-type=google.cloudsql.instance.ReliabilityInsight \\\n--filter=insightSubtype=CRITICAL_INSTANCE_HIGH_AVAILABILITY_NOT_ENABLED\n```\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: Your project ID.\n- \u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e: A region where your instances are located, such as `us-central1`.\n\n### API\n\nTo view insights and detailed recommendations about instances that are configured similar to instances that support important workloads but don't have\nhigh availability enabled by using the\n[Recommendations API](/recommender/docs/using-api), call the\n[`insights.list`](/recommender/docs/reference/rest/v1beta1/projects.locations.insightTypes.insights/list)\nmethod as follows: \n\n```\nGET https://recommender.googleapis.com/v1beta1/projects/PROJECT-ID/locations/LOCATION/insightTypes/google.cloudsql.instance.ReliabilityInsight/insights\n\n```\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: Your project ID.\n- \u003cvar translate=\"no\"\u003eLOCATION\u003c/var\u003e: A region where your instances are located, such as `us-central1`.\n\nThe following table lists the insight and recommendation that the Cloud SQL\nenable-high-availability recommender generates. The subtypes\nare visible in the gcloud CLI and API results.\n\nApply the recommendation\n------------------------\n\nEvaluate the recommendation carefully and do any of the following:\n\n- To examine the instance, click **View instance** and do any of the following:\n\n - Configure high\n availability on your instance. For more information, see\n [Enable and disable high availability](/sql/docs/mysql/configure-ha#console_1).\n\n | **Caution:** Once you start the high availability configuration on an instance, you can't stop it. This operation restarts the instance and can lead to an increase in cost and a brief downtime. It typically takes only a few minutes for the configuration and the restart operation to complete. However, if the instance has a large disk or load, then it might take up to an hour.\n - Migrate to the Cloud SQL Enterprise Plus edition. For more information, see\n [Introduction to Cloud SQL editions](/sql/docs/editions-intro).\n\n- To dismiss the recommendation, click **Dismiss**.\n\n- To close the panel without applying or dismissing the recommendation, click\n **Cancel**.\n\nWhat's next\n-----------\n\n- [Google Cloud recommenders](/recommender/docs/recommenders)\n- [Blog: Maximize your Cloud ROI](https://cloud.google.com/blog/products/management-tools/active-assist-comes-to-google-cloud)\n- [Blog: Do more with less](https://cloud.google.com/blog/products/databases/reduce-cloud-sql-costs-with-optimizations-by-active-assist)\n- View all the [Google Cloud services available in locations worldwide](/about/locations)."]]