From 2db683eb7ffea789571727a525c84a3aa639e79d Mon Sep 17 00:00:00 2001 From: Timna Brown <24630902+brown9804@users.noreply.github.com> Date: Fri, 9 May 2025 08:48:20 -0600 Subject: [PATCH 1/3] + enabling Autoscale IOPS MySQL --- .../demos/11_enablingAutoscaleIOPSmySQL.md | 62 +++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 0_Azure/1_AzureData/1_Databases/demos/11_enablingAutoscaleIOPSmySQL.md diff --git a/0_Azure/1_AzureData/1_Databases/demos/11_enablingAutoscaleIOPSmySQL.md b/0_Azure/1_AzureData/1_Databases/demos/11_enablingAutoscaleIOPSmySQL.md new file mode 100644 index 000000000..3fcc03585 --- /dev/null +++ b/0_Azure/1_AzureData/1_Databases/demos/11_enablingAutoscaleIOPSmySQL.md @@ -0,0 +1,62 @@ +# MySQL: Enabling Autoscale IOPS - Overview + +Costa Rica + +[![GitHub](https://img.shields.io/badge/--181717?logo=github&logoColor=ffffff)](https://github.com/) +[brown9804](https://github.com/brown9804) + +Last updated: 2025-04-23 + +---------- + +
+List of References (Click to expand) + +- [Storage IOPS in Azure Database for MySQL - Flexible Server](https://learn.microsoft.com/en-us/azure/mysql/flexible-server/concepts-storage-iops#how-do-i-know-that-iops-have-scaled-up-and-scaled-down-when-the-server-is-using-the-autoscale-iops-feature-can-i-monitor-iops-usage-for-my-server) +- [Azure Database for MySQL - Flexible Server service tiers](https://learn.microsoft.com/en-us/azure/mysql/flexible-server/concepts-service-tiers-storage#service-tiers-size-and-server-types) + +
+ + +
+Table of Content (Click to expand) + +
+ + +> When Autoscale IOPS is enabled for Azure Database for MySQL (Flexible Server), the IOPS (Input/Output Operations Per Second) automatically scale both up and down based on your workload demands.
+> - During `high demand`, the system `increases IOPS` to maintain performance. +> - During `low demand`, it `scales down` to reduce resource usage and cost. + +## How to provision + +1. Go to the [Azure Portal](https://portal.azure.com/) +2. Search for `Azure Database for MySQL Flexible Server` in the search bar. +3. Click `Create`. +4. Choose your subscription, resource group, and server name. +5. Select the region, MySQL version, and workload type (e.g., Development, Production). + + https://github.com/user-attachments/assets/5b500aea-538d-4ddb-88b6-e0717a2d0fbe + +## How to enable IOPS + +1. Go to the [Azure Portal](https://portal.azure.com/) +2. Select the server you want to configure. +3. In the left-hand menu, go to `Settings > Compute + Storage.` +4. In the IOPS section, select the option `Autoscale IOPS` +5. Click `Save` to apply the changes. + + https://github.com/user-attachments/assets/9e2983b3-3839-4ad3-8ab8-ccbb698f3228 + +## How to monitor + + + + + + +
+

Total Visitors

+ Visitor Count +
+ From c1ab003afd3b311e3cd3d909f90bbba5e41293c9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 9 May 2025 14:48:39 +0000 Subject: [PATCH 2/3] Update last modified date in Markdown files --- .../1_Databases/demos/11_enablingAutoscaleIOPSmySQL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/0_Azure/1_AzureData/1_Databases/demos/11_enablingAutoscaleIOPSmySQL.md b/0_Azure/1_AzureData/1_Databases/demos/11_enablingAutoscaleIOPSmySQL.md index 3fcc03585..2d859e0cc 100644 --- a/0_Azure/1_AzureData/1_Databases/demos/11_enablingAutoscaleIOPSmySQL.md +++ b/0_Azure/1_AzureData/1_Databases/demos/11_enablingAutoscaleIOPSmySQL.md @@ -5,7 +5,7 @@ Costa Rica [![GitHub](https://img.shields.io/badge/--181717?logo=github&logoColor=ffffff)](https://github.com/) [brown9804](https://github.com/brown9804) -Last updated: 2025-04-23 +Last updated: 2025-05-09 ---------- From c533973b2343b5e09fad3402485005aa66fb7c7b Mon Sep 17 00:00:00 2001 From: Timna Brown <24630902+brown9804@users.noreply.github.com> Date: Fri, 9 May 2025 09:28:42 -0600 Subject: [PATCH 3/3] adding visual guidance and how to monitor --- .../demos/11_enablingAutoscaleIOPSmySQL.md | 23 ++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/0_Azure/1_AzureData/1_Databases/demos/11_enablingAutoscaleIOPSmySQL.md b/0_Azure/1_AzureData/1_Databases/demos/11_enablingAutoscaleIOPSmySQL.md index 2d859e0cc..296802d1e 100644 --- a/0_Azure/1_AzureData/1_Databases/demos/11_enablingAutoscaleIOPSmySQL.md +++ b/0_Azure/1_AzureData/1_Databases/demos/11_enablingAutoscaleIOPSmySQL.md @@ -14,6 +14,7 @@ Last updated: 2025-05-09 - [Storage IOPS in Azure Database for MySQL - Flexible Server](https://learn.microsoft.com/en-us/azure/mysql/flexible-server/concepts-storage-iops#how-do-i-know-that-iops-have-scaled-up-and-scaled-down-when-the-server-is-using-the-autoscale-iops-feature-can-i-monitor-iops-usage-for-my-server) - [Azure Database for MySQL - Flexible Server service tiers](https://learn.microsoft.com/en-us/azure/mysql/flexible-server/concepts-service-tiers-storage#service-tiers-size-and-server-types) +- [Autoscale IOPS for Azure Database for MySQL - Flexible Server - General Availability](https://techcommunity.microsoft.com/blog/adformysql/autoscale-iops-for-azure-database-for-mysql---flexible-server---general-availabi/3884602) @@ -21,6 +22,10 @@ Last updated: 2025-05-09
Table of Content (Click to expand) +- [How to provision](#how-to-provision) +- [How to enable IOPS](#how-to-enable-iops) +- [How to Monitor IOPS Scaling](#how-to-monitor-iops-scaling) +
@@ -48,12 +53,28 @@ Last updated: 2025-05-09 https://github.com/user-attachments/assets/9e2983b3-3839-4ad3-8ab8-ccbb698f3228 -## How to monitor +## How to Monitor IOPS Scaling + +> How I know if the IOPS have scaled up or down when the server's using the autoscale IOPS feature? You can use the `metrics available in Azure Monitor`. + +1. **Use Azure Monitor Metrics**: + - Go to your server in the [Azure portal](https://portal.azure.com/) + - Go to the `Monitoring` section and select `Metrics`. + + image + - Choose the ` Storage IO` metric (both percent and count). + image + - Set a `custom time range` to observe trends over time. +2. **Look for Scaling Patterns**: + - If you see `sudden increases or decreases` in the IOPS metric that correlate with workload changes, this indicates that autoscale IOPS has adjusted the performance level. + - You can also monitor `IO utilization percentage` to see how close your server is to its current IOPS limit. +3. **Enable Alerts (Optional)**: You can set up `alerts` in Azure Monitor to notify you when IOPS usage crosses certain thresholds, which can help you track scaling events in real time. + https://github.com/user-attachments/assets/19b96128-e37f-40b4-8e23-8a5384bc6686

Total Visitors