%3CLINGO-SUB%20id%3D%22lingo-sub-1458160%22%20slang%3D%22en-US%22%3EImprovements%20to%20Azure%20Database%20for%20MySQL%20recommendations%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1458160%22%20slang%3D%22en-US%22%3E%3CP%3ECloud%20optimizations%20are%20critical%20to%20ensuring%20that%20you%20get%20the%20most%20out%20of%20your%20Azure%20investments%2C%20especially%20in%20complex%20environments%20with%20many%20Azure%20resources%20spread%20across%20multiple%20subscriptions%20and%20resource%20groups.%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fadvisor-acom%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Advisor%3C%2FA%3E%26nbsp%3Bhelps%20you%20optimize%20your%20Azure%20resources%20for%20high%20availability%2C%20security%2C%20performance%2C%20and%20cost%2C%20by%20providing%20free%2C%20personalized%20recommendations%20based%20on%20your%20Azure%20usage%20and%20configurations.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOne%20of%20the%20core%20value%20propositions%20for%20running%20your%20MySQL%20servers%20on%20Azure%20Database%20for%20MySQL%20service%20is%20Intelligent%20Performance%20insights.%20%3CA%20href%3D%22http%3A%2F%2Faka.ms%2Fmysql%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Database%20for%20MySQL%3C%2FA%3E%20leverages%20Azure%20Advisor%20to%20bring%20users%20these%20intelligent%20insights%20to%20ensure%20that%20they%20get%20the%20most%20out%20of%20their%20MySQL%20databases.%20Azure%20Advisor%20uses%20database%20server%20configuration%20details%20and%20usage%20metrics%20to%20provide%20targeted%20recommendations%20based%20on%20your%20workload%20pattern.%20Over%20the%20last%20year%2C%20we%20have%20seen%20increased%20Advisor%20recommendation%20adoption%20and%20overwhelmingly%20positive%20response%20from%20customers%20who%20have%20implemented%20the%20recommendations%20and%20seen%20visible%20improvements%20in%20the%20performance%20of%20their%20servers.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20style%3D%22line-height%3A%20115%25%3B%22%20id%3D%22toc-hId--1325721851%22%20id%3D%22toc-hId--1325686291%22%3EInitial%20recommendation%20set%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20team%20started%20off%20surfacing%20recommendations%20by%20programmatically%20analyzing%20server%20metrics%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fmysql%2Fconcepts-monitoring%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Etelemetry%3C%2FA%3E%20continuously%20to%20determine%20whether%20workload%20performance%20can%20be%20improved%20by%20configuring%20one%20or%20more%20of%20resource%20settings.%20Spanning%20four%20different%20areas%2C%20the%20initial%20set%20of%20recommendations%20includes%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EAddressing%20the%20CPU%20pressure%20of%20your%20Azure%20Database%20for%20MySQL%2C%20PostgreSQL%2C%20and%20MariaDB%20servers%20with%20CPU%20bottleneck.%3C%2FLI%3E%0A%3CLI%3EReducing%20memory%20constraints%20on%20your%20Azure%20Database%20for%20MySQL%2C%20PostgreSQL%2C%20and%20MariaDB%20servers.%3C%2FLI%3E%0A%3CLI%3EUsing%20an%20Azure%20Database%20for%20MySQL%2C%20PostgreSQL%20Read%20Replica%20to%20scale%20out%20reads%20for%20read%20intensive%20workloads.%3C%2FLI%3E%0A%3CLI%3EScaling%20your%20Azure%20Database%20for%20MySQL%2C%20PostgreSQL%2C%20and%20MariaDB%20server%20to%20a%20higher%20SKU%20to%20prevent%20connection%20constraints.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3ERead%20more%20about%20the%20initial%20recommendation%20set%20in%20this%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fazure-database-for-mysql%2Fazure-brings-intelligence-and-high-performance-to-azure-database%2Fba-p%2F769110%22%20target%3D%22_blank%22%3Eblog%20post%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20style%3D%22line-height%3A%20115%25%3B%22%20id%3D%22toc-hId-1161790982%22%20id%3D%22toc-hId-1161826542%22%3EWhat%E2%80%99s%20new%20with%20Azure%20Database%20for%20MySQL%20recommendations%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20aim%20to%20continuously%20make%20it%20easier%20for%20you%20to%20manage%20your%20MySQL%20servers%2C%20and%20we%E2%80%99ve%20added%20three%20new%20recommendations%20to%20the%20Azure%20platform.%20These%20recommendations%20are%20focused%20on%20cost%20and%20performance%20optimizations%20for%20your%20Azure%20resources.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSTRONG%3EImprove%20MySQL%20connection%20management%20-%20%3C%2FSTRONG%3EAdvisor%20analysis%20helps%20indicate%20that%20your%20application%20connecting%20to%20MySQL%20server%20may%20not%20be%20managing%20connections%20efficiently.%20This%20issue%20may%20result%20in%20unnecessary%20resource%20consumption%20and%20overall%20higher%20application%20latency.%3C%2FLI%3E%0A%3CLI%20style%3D%22list-style-type%3A%20none%3B%22%3E%3CP%3ETo%20improve%20connection%20management%2C%20we%20recommend%20that%20you%20reduce%20the%20number%20of%20short-lived%20connections%20and%20eliminate%20unnecessary%20idle%20connections.%20To%20do%20this%2C%20configure%20a%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fazure_mysql_connection_pooling%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Eserver-side%20connection-pooler%3C%2FA%3E%2C%20such%20as%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fazure_mysql_proxysql%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EProxySQL%3C%2FA%3E.%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EOptimize%20spend%20for%20MariaDB%2C%20MySQL%20and%20PostgreSQL%20servers%20by%20right%20sizing%20-%20%3C%2FSTRONG%3EAdvisor%20analyses%20your%20usage%20and%20recommends%20if%20your%20Azure%20Database%20for%20MySQL%2C%20PostgreSQL%20and%20MariaDB%20database%20server%20resource%20has%20been%20underutilized%20for%20an%20extended%20period%20of%20time%20over%20the%20last%207%20days.%20Low%20resource%20utilization%20results%20in%20unwanted%20expenditure%20which%20can%20be%20fixed%20without%20significant%20performance%20impact.%26nbsp%3BTo%20reduce%20your%20costs%20and%20efficiently%20manage%20your%20resources%2C%20we%20recommend%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fmysql%2Fhowto-create-manage-server-portal%23scale-compute-and-storage%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ereducing%20the%20compute%20size%20(vCores)%3C%2FA%3E.%3C%2FLI%3E%0A%3CLI%3E%3CSTRONG%3EBuy%20reserved%20instances%20for%20several%20resource%20types%20to%20save%20over%20your%20pay-as-you-go%20costs%20%3CBR%20%2F%3E%3C%2FSTRONG%3EWe%20analyze%20your%20Azure%20Database%20for%20MySQL%20usage%20pattern%20over%20last%2030%20days%20and%20recommend%20reserved%20capacity%20purchase%20that%20maximizes%20your%20savings.%26nbsp%3BWith%20reserved%20capacity%20you%20can%20pre-purchase%20MySQL%20hourly%20usage%20and%20save%20over%20your%20costs.%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fmysql%2Fconcept-reserved-pricing%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EReserved%20capacity%3C%2FA%3E%20is%20a%20billing%20benefit%20and%20will%20automatically%20apply%20to%20new%20or%20existing%20deployments.%20Saving%20estimates%20are%20calculated%20for%20individual%20subscriptions%20using%203-year%20reservation%20pricing%20and%20the%20usage%20pattern%20over%20last%2030%20days.%20Shared%20scope%20recommendations%20are%20available%20in%20reservation%20purchase%20experience%20and%20can%20increase%20savings%20further.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20style%3D%22line-height%3A%20115%25%3B%22%20id%3D%22toc-hId--645663481%22%20id%3D%22toc-hId--645627921%22%3EGetting%20started%20with%20Azure%20Advisor%3C%2FH2%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EReview%20the%20recommendations%20for%20your%20Azure%20resources%20by%20using%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fazureadvisor%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Advisor%20recommendations%3C%2FA%3E.%20If%20you%20need%20help%20getting%20started%2C%20check%20our%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fazureadvisordocs%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAdvisor%20documentation%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20can%20also%20postpone%20or%20dismiss%20these%20recommendations.%20For%20example%2C%20if%20you%20do%20not%20want%20to%20receive%20recommendations%20for%20a%20specific%20subscription%20or%20resource%20group%2C%20you%20can%20use%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fadvisor%2Fadvisor-overview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eportal%3C%2FA%3E%20or%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fcli%2Fazure%2Fadvisor%3Fview%3Dazure-cli-latest%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3ECLI%3C%2FA%3E%20to%20configure%20Azure%20Advisor%20to%20limit%20the%20resources%20on%20which%20recommendation%20are%20provided.%20For%20more%20information%20about%20using%20Azure%20Advisor%2C%20see%20the%20article%20-ERR%3AREF-NOT-FOUND-Get%20started%20with%20Azure%20Advisors.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20identify%20any%20problems%20or%20want%20to%20make%20a%20feature%20suggestion%2C%20please%20reach%20out%20to%20the%20%3CA%20href%3D%22mailto%3AAskAzureDBforMySQL%40service.microsoft.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAsk%20Azure%20DB%20for%20MySQL%20alias%3C%2FA%3E.%20You%20can%20also%20engage%20with%20us%20on%20the%20Azure%20feedback%20forums%20for%20Azure%20Database%20for%20MySQL%20%3CSPAN%3Efeedback%20forum%3C%2FSPAN%3E.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Microsoft

Cloud optimizations are critical to ensuring that you get the most out of your Azure investments, especially in complex environments with many Azure resources spread across multiple subscriptions and resource groups. Azure Advisor helps you optimize your Azure resources for high availability, security, performance, and cost, by providing free, personalized recommendations based on your Azure usage and configurations.

 

One of the core value propositions for running your MySQL servers on Azure Database for MySQL service is Intelligent Performance insights. Azure Database for MySQL leverages Azure Advisor to bring users these intelligent insights to ensure that they get the most out of their MySQL databases. Azure Advisor uses database server configuration details and usage metrics to provide targeted recommendations based on your workload pattern. Over the last year, we have seen increased Advisor recommendation adoption and overwhelmingly positive response from customers who have implemented the recommendations and seen visible improvements in the performance of their servers.

 

Initial recommendation set

 

The team started off surfacing recommendations by programmatically analyzing server metrics telemetry continuously to determine whether workload performance can be improved by configuring one or more of resource settings. Spanning four different areas, the initial set of recommendations includes:

  • Addressing the CPU pressure of your Azure Database for MySQL, PostgreSQL, and MariaDB servers with CPU bottleneck.
  • Reducing memory constraints on your Azure Database for MySQL, PostgreSQL, and MariaDB servers.
  • Using an Azure Database for MySQL, PostgreSQL Read Replica to scale out reads for read intensive workloads.
  • Scaling your Azure Database for MySQL, PostgreSQL, and MariaDB server to a higher SKU to prevent connection constraints.

Read more about the initial recommendation set in this blog post.

 

What’s new with Azure Database for MySQL recommendations

 

We aim to continuously make it easier for you to manage your MySQL servers, and we’ve added three new recommendations to the Azure platform. These recommendations are focused on cost and performance optimizations for your Azure resources.

 

  • Improve MySQL connection management - Advisor analysis helps indicate that your application connecting to MySQL server may not be managing connections efficiently. This issue may result in unnecessary resource consumption and overall higher application latency.
  • To improve connection management, we recommend that you reduce the number of short-lived connections and eliminate unnecessary idle connections. To do this, configure a server-side connection-pooler, such as ProxySQL.

  • Optimize spend for MariaDB, MySQL and PostgreSQL servers by right sizing - Advisor analyses your usage and recommends if your Azure Database for MySQL, PostgreSQL and MariaDB database server resource has been underutilized for an extended period of time over the last 7 days. Low resource utilization results in unwanted expenditure which can be fixed without significant performance impact. To reduce your costs and efficiently manage your resources, we recommend reducing the compute size (vCores).
  • Buy reserved instances for several resource types to save over your pay-as-you-go costs
    We analyze your Azure Database for MySQL usage pattern over last 30 days and recommend reserved capacity purchase that maximizes your savings. With reserved capacity you can pre-purchase MySQL hourly usage and save over your costs. Reserved capacity is a billing benefit and will automatically apply to new or existing deployments. Saving estimates are calculated for individual subscriptions using 3-year reservation pricing and the usage pattern over last 30 days. Shared scope recommendations are available in reservation purchase experience and can increase savings further.

 

Getting started with Azure Advisor

 

Review the recommendations for your Azure resources by using Azure Advisor recommendations. If you need help getting started, check our Advisor documentation.

 

You can also postpone or dismiss these recommendations. For example, if you do not want to receive recommendations for a specific subscription or resource group, you can use the portal or the CLI to configure Azure Advisor to limit the resources on which recommendation are provided. For more information about using Azure Advisor, see the article Get started with Azure Advisors.

 

If you identify any problems or want to make a feature suggestion, please reach out to the Ask Azure DB for MySQL alias. You can also engage with us on the Azure feedback forums for Azure Database for MySQL feedback forum.