Forum Discussion

shirishmathanka's avatar
shirishmathanka
Regular Visitor
3 months ago
Solved

Storage increasing daily

i have three pipeline and three lakehouses one from dataverse to fabric bronze layer getting only incremental data and overwrite bronze store only the modified around 2000  - 3000 row and one is bronze to silver upsert operation only the incremental data and other one is also same to silver silver have around 80 - 90 thousand row upsert only modifed data same with gold in azure storage explorer i have its showing only 1 to 2 gb of data but in storage explorer its showing around 16 gb of data 

  • Hi shirishmathanka 

     

    You should use Python notebooks. It is so easy top use bronze --> silver --> gold layer. You should use OPTIMIZE commands for indexing and Vaccum commands as well. That way You can apply VACUUM and you can save money a lot.

7 Replies

  • Hi shirishmathanka 

     

    You should use Python notebooks. It is so easy top use bronze --> silver --> gold layer. You should use OPTIMIZE commands for indexing and Vaccum commands as well. That way You can apply VACUUM and you can save money a lot.

  • Hi shirishmathanka

     

    To add to what BhaveshPatel said, when you change a table in a lakehouse/warehouse, the old data is not removed, it is just unreferenced. 

    So if you only change 3 rows, the old parquet file that had all the rows still exists, and a new parquet file with the modifications is created. 

    This is useful for the time travel feature. 

     

    using the VACUUM command will delete unreferenced files, which means that you can no longer time travel back to them, but will free up storage space.  

  • v-priyankata's avatar
    v-priyankata
    Community Support

    Hi shirishmathanka 

    Thank you for reaching out to the Microsoft Fabric Forum Community.

    BhaveshPatel tayloramy Thanks for the inputs. user inputs are usefull.

    Additon to users points, Even with VACUUM 0, the higher storage usage can still be normal in your scenario. Since your pipelines run 12 times a day across Bronze, Silver, and Gold, every MERGE/upsert creates new Delta/Parquet files, and over time this can lead to lots of small active files. VACUUM helps clean up old unused files, but it doesn’t combine or shrink the active ones.

    Also, Azure Storage Explorer shows the total physical storage being used, not just the actual current table data. That includes active data files, Delta logs, temporary/staging files, and storage across all three lakehouses. So the 16 GB vs 1–2 GB difference is likely due to a mix of frequent small file creation, metadata overhead, and storage across the full pipeline not just old retained data.

     

    If there are any deviations from your expectation please let us know we are happy to address.

    Thanks.