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

What type of cluster configuration should one use to run Optimize on a Delta Table

aladda
Databricks Employee
Databricks Employee
1 ACCEPTED SOLUTION

Accepted Solutions

aladda
Databricks Employee
Databricks Employee

Optimize merges small files into larger ones and can involve shuffling and creation of large in-memory partitions. Thus its recommended to use a memory optimized executor configuration to prevent spilling to disk. IN additional use of autoscaling will also help with adapting to spikes in data volume

It is also recommended that you use a separate jobs cluster if possible to run optimize so as to no impact the performance of other jobs

View solution in original post

1 REPLY 1

aladda
Databricks Employee
Databricks Employee

Optimize merges small files into larger ones and can involve shuffling and creation of large in-memory partitions. Thus its recommended to use a memory optimized executor configuration to prevent spilling to disk. IN additional use of autoscaling will also help with adapting to spikes in data volume

It is also recommended that you use a separate jobs cluster if possible to run optimize so as to no impact the performance of other jobs

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