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.

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