cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
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

Anand_Ladda
Honored Contributor II
1 ACCEPTED SOLUTION

Accepted Solutions

Anand_Ladda
Honored Contributor II

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

Anand_Ladda
Honored Contributor II

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

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.