cancel
Showing results for 
Search instead for 
Did you mean: 
Machine Learning
Dive into the world of machine learning on the Databricks platform. Explore discussions on algorithms, model training, deployment, and more. Connect with ML enthusiasts and experts.
cancel
Showing results for 
Search instead for 
Did you mean: 

Which file size is better 1 GB file size in target or 128 MB or lesser than that

User16826994223
Honored Contributor III

Which file size is better 1 GB file size in target or 128 MB or lesser than that , I am interested in knowing concept too.

1 REPLY 1

sajith_appukutt
Honored Contributor II

If data is getting appended primarily to the delta table and read ratio is higher than writes ratio - larger file sizes ( 1GB) would be ideal.

However, if your delta table undergoes frequent upserts/merges, having smaller files than the default 1GB can improve MERGE performance as only smaller amounts of data would have to be rewritten.

Check out file size auto tuning for MERGE as well

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!