I am using the Azure Cloud Services with a single Azure Database. I have the pricing tier set to S4 which gives me 200 DTUs and 250GB. The issue is that all of my worker and web roles are set to auto-scale with load except for the Database. When I do a load-test, everything up-scales automatically until the Database starts choking on queries which is causing a bottle-neck.
There isn't any auto-scaling options for Databases that I can find. I found this video from Microsoft: Azure SQL Database dynamically scale-up or scale-down
but it basically says that you need to go to your Azure portal and manually scale-up to a larger pricing tier. It doesn't mention anything about automatically scaling up or down.
I also looked into Elastic Pools but these seem to be more for using many Databases at the same time, rather than just 1 Database.
So my question is:
How do you automatically scale-up and down a single Azure database?
Azure SQL Database serverless automatically scales compute for single databases based on workload demand and bills for compute used per second. Serverless also provides an option to automatically pause the database during inactive usage periods when only storage costs are billed.
Automatic tuning is a fully managed intelligent performance service that uses built-in intelligence to continuously monitor queries executed on a database and automatically improve their performance. This is achieved through dynamically adapting a database to changing workloads and applying tuning recommendations.
How long would it take to scale up and down a compute replica? Scaling compute up or down typically takes up to 2 minutes regardless of data size.
Data Modeling in Azure is a new preview service in Microsoft Azure where semantic Data Models can be hosted. Users in your organization can then connect to your Data Models via tools such as Excel, Power BI, and others to generate reports and perform ad-hoc data analysis.
You have several options like Alberto mentioned you can use REST API and Of course azure run-books/webhooks to configure the alert rules.
Let me explain my process here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With