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: 

How can I speed up the loading of a large zipped CSV file in databricks

aladda
Databricks Employee
Databricks Employee
 
1 ACCEPTED SOLUTION

Accepted Solutions

aladda
Databricks Employee
Databricks Employee

gzip format is not splittable so the load process is sequential and thus slower. You can either try to split the CSV up into parts, gzip those separately and load them. Alternatively bzip is a splittable zip format that is better to work with

Or you can also try Pigz alternative to gzip - https://ostechnix.com/pigz-compress-and-decompress-files-in-parallel-in-linux/

View solution in original post

1 REPLY 1

aladda
Databricks Employee
Databricks Employee

gzip format is not splittable so the load process is sequential and thus slower. You can either try to split the CSV up into parts, gzip those separately and load them. Alternatively bzip is a splittable zip format that is better to work with

Or you can also try Pigz alternative to gzip - https://ostechnix.com/pigz-compress-and-decompress-files-in-parallel-in-linux/

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now