Azure Synapse : What's the actual size of the database ?

sakuraime 2,316 Reputation points


Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,342 questions
{count} vote

2 answers

Sort by: Most helpful
  1. David Browne - msft 3,766 Reputation points

    For Synapse SQL Pool, I'm not sure any of those is really accurate. Also "database size" is an ambiguous concept.

    One answer is how much data am I storing, which you can use the DMVs for:

    select  sum(used_page_count)  / 8.0 / 1024 total_size_mb
    from sys.dm_pdw_nodes_db_partition_stats 

    Another is "how much storage space am I being billed for"? Storage in Synapse SQL Pool is charged at about $23/TB/Month, and includes the size of the snapshots used to provide restore points for the database. And this is available in the Cost Analysis blade of your Resource Group or through the billing APIs.

    1 person found this answer helpful.

  2. HimanshuSinha-msft 19,376 Reputation points Microsoft Employee

    Hello @sakuraime ,
    Thank for the ask .
    The actual size of the DB is 131072.00 MB . Well does not mean that you have that much data at this time . It includes both data and log files. This is the one which you get an option while creating the DB , screenshot attached .


    Thanks Himanshu
    Please do consider to click on "Accept Answer" and "Upvote" on the post that helps you, as it can be beneficial to other community members.