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/

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group