0

I'm facing an abnormal growth in the data size for tables inside a Azure Synapse Analytics Dedicated SQL Pool.

In particular I noticed that even if I delete some rows from a table, the table data size doesn't decrease.

In order to monitor the table size I'm using the view (vTableSizes) recommended in the MS documentation: https://learn.microsoft.com/en-us/azure/synapse-analytics/sql-data-warehouse/sql- data-warehouse-tables-overview#table-size-queries.

The table size is exponentially growing because the data ingestion process delete and re-insert modified data (standard approach for data warehouse fact tables).

Why table data size is not reduced when a DELETE operation is performed?

1 Answer 1

0

REBUILD table should help here. It helps to rebuild take and claim free space. Kindly try and see.

ALTER TABLE dbo.YourTable WITH REBUILD;

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.