DB for MySQL
The presented resiliency recommendations in this guidance include DB for MySQL and associated resources and settings.
Summary of Recommendations
Recommendation | Category | Impact | State | ARG Query Available |
---|---|---|---|---|
MYSQL-1 - Enable HA with zone redundancy | Availability | High | Verified | Yes |
MYSQL-2 - Enable custom maintenance schedule | System Efficiency | High | Verified | Yes |
Definitions of states can be found here
Recommendations Details
MYSQL-1 - ゾーン冗長性による HA を有効化します
Category: Availability
Impact: High
Guidance
フレキシブル サーバー インスタンスでゾーン冗長性を備えた HA を有効にします。ゾーン冗長高可用性は、自動フェールオーバー機能を備えた別のゾーンにスタンバイ レプリカをデプロイします。
Resources
Resource Graph Query
// Azure Resource Graph Query
// Find Database for MySQL instances that are not zone redundant
resources
| where type == "microsoft.dbformysql/flexibleservers"
| where properties.highAvailability.mode != "ZoneRedundant"
| project recommendationId = "psql-1", name, id, tags, param1 = "ZoneRedundant: False"
MYSQL-2 - カスタムメンテナンススケジュールを有効にします
Category: System Efficiency
Impact: High
Guidance
フレキシブル サーバー インスタンスでカスタム メンテナンス スケジュールを使用して、サービス更新プログラムを適用する優先時間を選択します。
Resources
Resource Graph Query
// Azure Resource Graph Query
// Find Database for MySQL instances that do not have a custom maintenance window
resources
| where type == "microsoft.dbformysql/flexibleservers"
| where properties.maintenanceWindow.customWindow != "Enabled"
| project recommendationId = "psql-2", name, id, tags, param1 = strcat("customWindow:", properties['maintenanceWindow']['customWindow'])