Share via

Can we Stop Azure SQL Database ?

kekiran-MSFT 391 Reputation points Microsoft Employee Moderator
2024-10-07T21:56:57.48+00:00

Is there way to stop Azure SQL database to save cost as my load generally run during the business hours and no activity during the off business hours.

Azure SQL Database
{count} votes

2 answers

Sort by: Most helpful
  1. Rajeswari Depala 115 Reputation points
    2024-10-07T23:00:10.6+00:00

    Azure SQL Database offers a feature called "Pause and Resume" for its serverless tier.The cost for a serverless database is the summation of the compute cost and storage cost.But this approach is quite expensive.

    Or you could just set up a MySQL database on a virtual machine and use automation tools (logic apps) to start/stop the VM based on a schedule or triggers.

    Another alternative you can try is that if you have multiple databases with varying and unpredictable usage patterns, an elastic pool might be more cost-effective than individual serverless databases. It allows you to share resources among multiple databases.


  2. Erland Sommarskog 133.2K Reputation points MVP Volunteer Moderator
    2024-10-07T22:00:23.0233333+00:00

    Yes, you can do this if you have Serverless business tier. Beware that Serverless is more expensive once it's running, but if you only want to run during business hours, Serverless would be a deal for you, unless you are one of the really cheap ones like S0 now.

    0 comments No comments

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.