Jovan MSFT
Jovan MSFT

Reputation: 14580

What to do if Azure SQL Managed Instance reaches the max storage limit?

Azure SQL Managed Instance can reach the storage limit if the total sum of sizes of the database (both user and system) reaches the instance limit. In this case the following issues might happen:

How to resolve this problem is the managed instance reaches the storage limit?

Upvotes: 0

Views: 4437

Answers (1)

Jovan MSFT
Jovan MSFT

Reputation: 14580

There are several way to resolve this issue:

  • Increase the instance storage limit using portal, PowerShell, Azure CLI.
  • Decrease the size of database by using DBCC SHRINKDB, or dropping unnecessary data/tables (for example #temporary tables in tempdb)

The preferred way is is to increase the storage because even if you free some space, next maintenance operation might fill it again.

Upvotes: 1

Related Questions