We have an Azure SQL database that occasionally has 50-90% usage. The current scale setting is S0 Standard (10 DTUs). Is there downtime on the server if I switch to S1 Standard (20 DTUs)? If so, what kind of downtime should I expect with a database size of 62 MB?
When data space used reaches the maximum data size limit, either at the database level or at the elastic pool level, inserts and updates that increase data size fail and clients receive an error message. SELECT and DELETE statements remain unaffected.
Published date: April 27, 2022. Data storage limits in Azure SQL Database have increased from 1.5 TB to 2 TB for single databases and elastic pools configured with 8 and 10 vcores. Workloads requiring up to 2 TB storage can now reduce costs by not having to increase the compute size beyond 8 vcores.
Scaling storage up or down in the General Purpose service tier consists of updating meta data and propagating response for submitted request. It is a fast operation that completes in up to 5 minutes, without a downtime and failover.
Some transactions may get rolled back during the process
https://docs.microsoft.com/en-us/azure/sql-database/sql-database-dtu-resource-limits-single-databases
Changing the service tier and/or performance level of a database creates a replica of the original database at the new performance level, and then switches connections over to the replica. No data is lost during this process but during the brief moment when we switch over to the replica, connections to the database are disabled, so some transactions in flight may be rolled back. The length of time for the switch-over varies, but is less than 30 seconds 99% of the time. If there are large numbers of transactions in flight at the moment connections are disabled, the length of time for the switch-over may be longer.
you don't need downtime when you Increase DTU's or change service tiers,I have changed many times on my test instances as well.
Our database is nearly 150 GB and we have changed service tier from P1 to P3,this operation completed in about 15 minutes and there is no downtime.I remember there was a MSDN page which gave a formula on estimated time ,but couldn't find it now..and out tier change completed much earlier than estimated
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