Dedicated SQL pool storage capacity and database details

Amit Kamble 40 Reputation points
2023-12-05T04:48:05.76+00:00

Hello,

As per our client they have provisioned Dedicated SQL pool for 5 Years with 5 TB storage capacity, and I need to find how much storage been occupied and how much storage is left. anyone can assist me on this please?

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,621 questions
{count} vote

1 answer

Sort by: Most helpful
  1. BhargavaGunnam-MSFT 28,616 Reputation points Microsoft Employee
    2023-12-11T20:51:48.1266667+00:00

    Hello Amit Kamble,

    Are you talking about TempDB size?

    if yes, Microsoft Provides 399 GB per DW100c. For example, at DWU1000c, tempdb is sized to 3.99 TB.

    You can run the below query against the 'master' to check the tempDB space used/ free

    -- Determining the Amount of Space Used  / free
    SELECT 
    	 [Source] = 'database_files'
    	,[TEMPDB_max_size_MB] = SUM(max_size) * 8 / 1024.0
    	,[TEMPDB_current_size_MB] = SUM(size) * 8 / 1024.0
    	,[FileCount] = COUNT(FILE_ID)
    FROM tempdb.sys.database_files
    WHERE type = 0 --ROWS
    
    
    

    If you are talking about user databases, Here is the Max size limits on the user databases.

    Gen1: 240 TB compressed on disk. This space is independent of tempdb or log space, and therefore this space is dedicated to permanent tables. Clustered columnstore compression is estimated at 5X. This compression allows the database to grow to approximately 1 PB when all tables are clustered columnstore (the default table type).

    Gen2: Unlimited storage for columnstore tables. Rowstore portion of the database is still limited to 240 TB compressed on disk.

    So techincally, you will get unlimited storage with the synapse dedicated SQL pool DB's.

    Please check the below document for your reference:
    https://video2.skills-academy.com/en-us/azure/synapse-analytics/sql-data-warehouse/sql-data-warehouse-service-capacity-limits#database-objects

    Let me know if you have any further questions.

    1 person found this answer helpful.