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
Honored Contributor II
Honored Contributor II
1 ACCEPTED SOLUTION

Accepted Solutions

aladda
Honored Contributor II
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

aladda
Honored Contributor II
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

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!