Synapse Spark Delta - VACUUM

Ryan Abbey 1,176 Reputation points

Is there any way to log the VACUUM stats within Synapse Spark 2.4?

Databricks has "" which I tried but did not get any success in logging the vacuum call

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,553 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. PRADEEPCHEEKATLA-MSFT 82,196 Reputation points Microsoft Employee

    Hello @Ryan Abbey ,

    Thanks for the using MS Q&A platform.

    Azure Databricks & Azure Synapse - VACUUM commits to the Delta transaction log contain audit information.

    You can query the audit events using DESCRIBE HISTORY as shown below.


    For more details, refer to Audit information.

    Hope this helps. Do let us know if you any further queries.


    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.