Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
in Azure by (17.6k points)

Is there any way to stop a SQL Azure DB so that it doesn't charge anything towards our account? I don't want to delete it, just while in testing and it is not being used then we set it to "stopped" as we can do with websites, cloud services and VM's.

1 Answer

0 votes
by (47.2k points)

There is no way to stop SQL Azure Database to avoid billing charges when not in use. The azure virtual machine can be suspended and by doing that you can avoid hourly charges, but you cannot do the same with a SQL Azure Database which is charged hourly per database.

There are few alternatives to reduce or stop charges:

  • The pricing tier of SQL Azure Database can be changed to Basic.

  • Export the SQL Azure Database to Azure storage and then delete the SQL Azure Database and restore it when needed.

  • Delete your SQL Azure Database and later use point-in-time restore to restore your database depending on the pricing tier associated with the database. Databases with Basic pricing tier can be restored within 7 days after deleting it, while the retention period for Standard is 14 days and for the Premium pricing tier is currently 35 days.

You can learn in-depth about SQL statements, queries and become proficient in SQL queries by enrolling in our industry-recognized Microsoft SQL Certification

Browse Categories