cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

What is an optimal size for file partitions using Parquet?

__Databricks_Su
Contributor
 
3 REPLIES 3

__Databricks_Su
Contributor

This all depends on the dataset size and specific use cases, but, in general, we've seen that Parquet partitions of about 1GB are optimal. For smaller datasets, however, this large partition size may limit parallelism as tasks operate on individual partitions in parallel, so please keep that in mind.

Hi, I'm using the orc file format instead of Parquet, would you recommend a similar size for that too, or perhaps something larger?

richard1_558848
New Contributor II

How do you set this size ?

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.