You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Background:
In our ClickHouse cluster we have several larger tables with rather small number of parts.
For example table of approximately 400GB size and around 20 parts. This means that some parts might have a size of around 150GB. For backup uploads to GCS Buckets this means that these larger parts currently are uploaded as a single stream and these uploads might take a multiple hours to complete (backup process sometimes takes over 12 hours).
Suggestion:
To improve upload to GCS performance I would suggest to implement multipart parallel uploads to GSS buckets. This should be possible to accomplish with Google XML API - https://cloud.google.com/storage/docs/xml-api/post-object-multipart
However, Google storage SDK used for uploads has this open issue googleapis/google-cloud-go#3219. Suggesting that parallel multipart upload should be implemented into storage SDK Transfer Manager class. This would simplify the parallel multipart implementation for large table parts.
In general my questions in this would be as follows:
Is this something you are aware about?
Could this be a future candidate for improvement?
If needed we could provide some possible workarounds we are looking into.
The text was updated successfully, but these errors were encountered:
Also to mention. We started investigating this due to running out of disk space. For that we recommend to look at the --delete-source flag if that suits your application. Non the less a huge performance boost would be very beneficial without working around reorganising the sizing and structure of our table/part strategy.
yes, we are aware about upload speed.
and yes, we watch to googleapis/google-cloud-go#3219, unfortunately no progress from Google for a long time,
maybe I understand SDK behavior wrong, in any case,
Could this be a future candidate for improvement?
yes, we are welcome to pull requests
If needed we could provide some possible workarounds we are looking into.
Background:
In our ClickHouse cluster we have several larger tables with rather small number of parts.
For example table of approximately 400GB size and around 20 parts. This means that some parts might have a size of around 150GB. For backup uploads to GCS Buckets this means that these larger parts currently are uploaded as a single stream and these uploads might take a multiple hours to complete (backup process sometimes takes over 12 hours).
Suggestion:
To improve upload to GCS performance I would suggest to implement multipart parallel uploads to GSS buckets. This should be possible to accomplish with Google XML API - https://cloud.google.com/storage/docs/xml-api/post-object-multipart
However, Google storage SDK used for uploads has this open issue googleapis/google-cloud-go#3219. Suggesting that parallel multipart upload should be implemented into storage SDK Transfer Manager class. This would simplify the parallel multipart implementation for large table parts.
In general my questions in this would be as follows:
The text was updated successfully, but these errors were encountered: