cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

How to track the progress of a VACUUM command.

brickster_2018
Databricks Employee
Databricks Employee

My VACCUM command is stuck. I am not sure if it's deleting any files. 

1 ACCEPTED SOLUTION

Accepted Solutions

brickster_2018
Databricks Employee
Databricks Employee

There is no direct way to track the progress of the VACUUM command. One easy workaround is to run a DRY RUN from another notebook which will give the estimate of files to be deleted at that point in time. This will give a rough estimate of files to be deleted. 

One other way is to check the Spark driver logs. The Spark driver logs will have messages pointing the file deletion

View solution in original post

1 REPLY 1

brickster_2018
Databricks Employee
Databricks Employee

There is no direct way to track the progress of the VACUUM command. One easy workaround is to run a DRY RUN from another notebook which will give the estimate of files to be deleted at that point in time. This will give a rough estimate of files to be deleted. 

One other way is to check the Spark driver logs. The Spark driver logs will have messages pointing the file deletion

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group