<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: query to find Size of each FABRIC Warehouse table in Data Warehouse</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/query-to-find-Size-of-each-FABRIC-Warehouse-table/m-p/4916363#M4089</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="694302" data-lia-user-login="AJAJ" class="lia-mention lia-mention-user"&gt;AJAJ&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Just wanted to check if the response provided was helpful. If further assistance is needed, please reach out.&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Jan 2026 05:01:40 GMT</pubDate>
    <dc:creator>v-veshwara-msft</dc:creator>
    <dc:date>2026-01-12T05:01:40Z</dc:date>
    <item>
      <title>query to find Size of each FABRIC Warehouse table</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/query-to-find-Size-of-each-FABRIC-Warehouse-table/m-p/4914164#M4066</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently on Azure SQL. At the end of ETL process, all SQL table sizes are recorded into a table by using a query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When someone moves into Fabric warehouse or lakehouse, how to capture sizes of all warehouse tables or if lakehouse, file sizes using a query?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate your thoughts.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2026 19:56:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/query-to-find-Size-of-each-FABRIC-Warehouse-table/m-p/4914164#M4066</guid>
      <dc:creator>AJAJ</dc:creator>
      <dc:date>2026-01-07T19:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: query to find Size of each FABRIC Warehouse table</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/query-to-find-Size-of-each-FABRIC-Warehouse-table/m-p/4914165#M4068</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently on Azure SQL. At the end of ETL process, all SQL table sizes are recorded into a table by using a query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When someone moves into Fabric lakehouse, how to capture sizes of ALL lakehouse file sizes using a SQL query (preferred) if not / python script in notebook ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate your thoughts.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jan 2026 19:59:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/query-to-find-Size-of-each-FABRIC-Warehouse-table/m-p/4914165#M4068</guid>
      <dc:creator>AJAJ</dc:creator>
      <dc:date>2026-01-07T19:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: query to find Size of each FABRIC Warehouse table</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/query-to-find-Size-of-each-FABRIC-Warehouse-table/m-p/4914645#M4073</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="694302" data-lia-user-login="AJAJ" class="lia-mention lia-mention-user"&gt;AJAJ&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to Microsoft Fabric Community.&lt;/P&gt;
&lt;P&gt;In Microsoft Fabric, the approach depends on whether the data is in a Warehouse or a Lakehouse.&lt;/P&gt;
&lt;P&gt;For Fabric Warehouse, you can run the query below.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;SELECT
    t.name AS table_name,
    SUM(p.rows) AS row_count,
    CAST(SUM(a.total_pages) * 8 AS DECIMAL(18,2)) AS size_in_KB,
    CAST(SUM(a.total_pages) * 8.0 / 1024 AS DECIMAL(18,2)) AS size_in_MB,
    CAST(SUM(a.total_pages) * 8.0 / 1024 / 1024 AS DECIMAL(18,2)) AS size_in_GB
FROM sys.tables t
JOIN sys.indexes i 
    ON t.object_id = i.object_id
JOIN sys.partitions p 
    ON i.object_id = p.object_id 
   AND i.index_id = p.index_id
JOIN sys.allocation_units a 
    ON p.partition_id = a.container_id
WHERE t.name = 'SalesSample'
  AND SCHEMA_NAME(t.schema_id) = 'dbo'
GROUP BY t.name;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;Replace table name and schema with your table and schema names.&lt;BR /&gt;&lt;BR /&gt;For Fabric Lakehouse, table sizes are stored as Delta metadata and can be retrieved using Spark SQL. From a notebook attached to the Lakehouse, run the following in a SQL cell:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;DESCRIBE DETAIL SalesSample;&lt;/LI-CODE&gt;
&lt;P&gt;This returns sizeInBytes, row count, and other table metadata. The value can be converted to KB, MB, or GB and persisted as part of ETL logging if required.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For Lakehouse files (for example files under the Files area), size information can be viewed directly from the Lakehouse UI, where file and folder sizes are shown. This is currently the supported way to check file level sizes without using Spark.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Similar threads and useful resources:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Fabric-platform/Size-table-in-workspace/m-p/4340799" target="_blank"&gt;Solved: Re: Size table in workspace - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Fabric-platform/How-to-check-the-size-of-data-in-lakehouse/td-p/3679422" target="_blank"&gt;How to check the size of data in lakehouse - Microsoft Fabric Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blog.fabric.microsoft.com/en-us/blog/getting-the-size-of-onelake-data-items-or-folders?ft=All" target="_blank"&gt;Getting the size of OneLake data items or folders | Microsoft Fabric Blog | Microsoft Fabric&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps. Please reach out for further assistance.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jan 2026 10:51:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/query-to-find-Size-of-each-FABRIC-Warehouse-table/m-p/4914645#M4073</guid>
      <dc:creator>v-veshwara-msft</dc:creator>
      <dc:date>2026-01-08T10:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: query to find Size of each FABRIC Warehouse table</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/query-to-find-Size-of-each-FABRIC-Warehouse-table/m-p/4916363#M4089</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="694302" data-lia-user-login="AJAJ" class="lia-mention lia-mention-user"&gt;AJAJ&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Just wanted to check if the response provided was helpful. If further assistance is needed, please reach out.&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jan 2026 05:01:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/query-to-find-Size-of-each-FABRIC-Warehouse-table/m-p/4916363#M4089</guid>
      <dc:creator>v-veshwara-msft</dc:creator>
      <dc:date>2026-01-12T05:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: query to find Size of each FABRIC Warehouse table</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/query-to-find-Size-of-each-FABRIC-Warehouse-table/m-p/4919149#M4105</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="694302" data-lia-user-login="AJAJ" class="lia-mention lia-mention-user"&gt;AJAJ&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Just checking in to see if you query is resolved and if any responses were helpful.&lt;BR /&gt;Otherwise, feel free to reach out for further assistance.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jan 2026 07:12:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/query-to-find-Size-of-each-FABRIC-Warehouse-table/m-p/4919149#M4105</guid>
      <dc:creator>v-veshwara-msft</dc:creator>
      <dc:date>2026-01-16T07:12:52Z</dc:date>
    </item>
  </channel>
</rss>

