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:ย 

Does Delta perform listing of data directories?

brickster_2018
Databricks Employee
Databricks Employee

I never ran VACUUM on the Delta table. Will Delta perform direct listing on those directories, I am afraid the query performance is going to get degraded over time

How about the log directories. I have more than 100k JSON files in the log directory

1 ACCEPTED SOLUTION

Accepted Solutions

brickster_2018
Databricks Employee
Databricks Employee

For both Data and logs, Delta does not perform listing. The transaction logs have the details of the files and the objects are directly accessed.

Similarly with in the Delta log directory listing is performed. However, it's performed using a continuation token. Hence only partial listing is done.

View solution in original post

1 REPLY 1

brickster_2018
Databricks Employee
Databricks Employee

For both Data and logs, Delta does not perform listing. The transaction logs have the details of the files and the objects are directly accessed.

Similarly with in the Delta log directory listing is performed. However, it's performed using a continuation token. Hence only partial listing is done.

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now