Why is Azure SQL DB used space larger than physical server storage used space?

Sean Meadows 20 Reputation points
2025-03-10T15:16:49.2033333+00:00

We have an Azure SQL Server database and a physical server with a SQL Server database. The databases have the same structure, and we store similar data on both (different servers for different clients), and we've been using the physical server for longer with many more input sources than the Azure server. However, after only a few months, the total used space in the Azure database is already more than 1/3rd of the size of that in our physical server database. We have and are working on DB size management, but I'm wondering why the storage in Azure seems to be so much larger for the same amount of data on a physical server? Are there settings in Azure that affect this? Or other background operations done by Azure that take up additional space?

SQL Server Database Engine
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Erland Sommarskog 119.4K Reputation points MVP
    2025-03-10T22:36:40.6933333+00:00

    It's difficult to answer without knowledge about the specifics. However, in Azure SQL Database Accelerated Database Recovery (ADR) and Read-Committed Snapshot are both on by default, which is on the case on-prem. This means that the Persistent Version Store might take up space in Azure.

    But as I understand, the databases has different sets of data, so maybe you are simply mistaken about what you think should be the same size. Attached is a file with a couple of queries to give you the size of tables in the database. (The queries handle LOB data a little differently.)

    tblsizes.sql.txt


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.