Share via

Azure SQL Managed Instance Scaling

Biju Mathew 386 Reputation points
2021-03-29T05:42:07.343+00:00

Hi,
We are in the process of migrating our on prem SQL Dbs into Azure SQL Managed instance.

a couple of queries:

1) Does Azure SQ Managed Instance support Pause/Resume or allocate/deallocate just like VM. we want to reduce our running costs for Managed instance.
2) Does SQL MI supports scale up and scale down via automated scripts?
3) Can SQL MI be scales across service tiers i.e There are some days with peak loads. on these days, i want to scale up from General to Businesss tier. on the other days, i want to scale down to General.

Please help with the above.

thanks

Azure SQL Database
0 comments No comments

Answer accepted by question author

  1. KalyanChanumolu-MSFT 8,361 Reputation points
    2021-03-29T11:19:18.46+00:00

    @Biju Mathew Thank you for your interest in Azure SQL Managed Instance.
    Let me answer your questions one by one.

    1) Does Azure SQ Managed Instance support Pause/Resume or allocate/deallocate just like VM. we want to reduce our running costs for Managed instance.

    No, it is not possible to Pause/Resume SQL Managed Instance.
    If you have workloads that are completely inactive for extended periods of time, please consider SQL Azure Database Serverless instead

    2) Does SQL MI supports scale up and scale down via automated scripts?

    Yes, you can use PowerShell, CLI or Rest API to manage scaling.
    There are some Runbooks already available on the gallery. Please check this article for a sample.

    3) Can SQL MI be scales across service tiers i.e There are some days with peak loads. on these days, i want to scale up from General to Businesss tier. on the other days, i want to scale down to General.

    Yes, you can switch between General and Business Critical tiers.
    However please be aware that the scaling operation could take a while depending on the amount of data you have across all databases in the Managed Instance.

    Do let us know if you have further questions.


    If an answer is helpful, please "Accept answer" or "Up-Vote" for the same which might be beneficial to other community members reading this thread.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.