Skip to content

Commit 14f8387

Browse files
authored
Merge pull request #112633 from urosmil/patch-4
Management operations cross-impact
2 parents f9a31af + 1d387d8 commit 14f8387

File tree

1 file changed

+19
-7
lines changed

1 file changed

+19
-7
lines changed

articles/sql-database/sql-database-managed-instance.md

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -161,19 +161,31 @@ The following table summarizes operations and typical overall durations:
161161

162162
\*\*\* 12 hours is the current configuration but that might change in the future, so don't take a hard dependency on it. If you need to delete a virtual cluster earlier (to release the subnet for example), see [Delete a subnet after deleting an Azure SQL Database managed instance](sql-database-managed-instance-delete-virtual-cluster.md).
163163

164-
### Instance availability during management
164+
### Instance availability during management operations
165165

166-
Managed instances are not available to client applications during deployment and deletion operations.
166+
Managed instance is not available to client applications during deployment and deletion operations.
167167

168-
Managed instances are available during update operations but there is a short downtime caused by the failover that happens at the end of updates that typically lasts up to 10 seconds. The exception to this is update of the reserved storage space in General Purpose service tier which does not incur failover nor affect instance availability.
169-
170-
> [!IMPORTANT]
171-
> Duration of a failover can vary significantly in case of long-running transactions that happen on the databases due to [prolonged recovery time](sql-database-accelerated-database-recovery.md#the-current-database-recovery-process). Hence it's not recommended to scale compute or storage of Azure SQL Database managed instance or to change service tier at the same time with the long-running transactions (data import, data processing jobs, index rebuild, etc.). Database failover that will be performed at the end of the operation will cancel ongoing transactions and result in prolonged recovery time.
168+
Managed instance is available during update operations except a short downtime caused by the failover that happens at the end of update. It typically lasts up to 10 seconds even in case of interrupted long-running transactions, thanks to the [Accelerated database recovery](sql-database-accelerated-database-recovery.md).
172169

173170
> [!TIP]
174171
> Update of the reserved storage space in General Purpose service tier does not incur failover nor affect instance availability.
175172
176-
[Accelerated database recovery](sql-database-accelerated-database-recovery.md) is not currently available for Azure SQL Database managed instances. Once enabled, this feature will significantly reduce variability of failover time, even in case of long-running transactions.
173+
> [!IMPORTANT]
174+
> It's not recommended to scale compute or storage of Azure SQL Database managed instance or to change service tier at the same time with the long-running transactions (data import, data processing jobs, index rebuild, etc.). Database failover that will be performed at the end of the operation will cancel all ongoing transactions.
175+
176+
177+
### Management operations cross-impact
178+
179+
Managed instance management operations can affect other management operations of the instances placed inside the same virtual cluster. This includes following:
180+
181+
- **Long running restore operations** in a virtual cluster will put on hold other instance creation or scaling operation in the same subnet.<br/>**Example:** if there is long running restore operation and there is create or scale request in the same subnet, this request will take longer to complete as it will wait for restore operation to complete before it continues.
182+
183+
- **Subsequent instance creation or scaling** operation is put on hold by previously initiated instance creation or instance scale that initiated virtual cluster resize.<br/>**Example:** if there are multiple create and/or scale requests in the same subnet under the same virtual cluster, and one of them initiates virtual cluster resize, all requests that were submitted 5+ minutes after the one that required virtual cluster resize will last longer than expected as these requests will have to wait for the resize to complete before resuming.
184+
185+
- **Create/scale operations submitted in 5 minute window** will be batched and executed in parallel.<br/>**Example:** Only one virtual cluster resize will be performed for all operations submitted in 5 minute window (measuring from the moment of executing the first operation request). In case that another request is submitted more than 5 minutes after submitting the first one, it will wait for virtual cluster resize to complete before execution starts.
186+
187+
> [!IMPORTANT]
188+
> Management operations that are put on hold because of another operation that is in progress will be automatically resumed once conditions to proceed are met. There is no user action needed to resume temporarily paused management operation.
177189
178190
### Canceling management operations
179191

0 commit comments

Comments
 (0)