Skip to content

Reduce default settings for S3 multipart upload part size#28679

Merged
nikitamikhaylov merged 1 commit intoClickHouse:masterfrom
ianton-ru:MDB-14168
Sep 7, 2021
Merged

Reduce default settings for S3 multipart upload part size#28679
nikitamikhaylov merged 1 commit intoClickHouse:masterfrom
ianton-ru:MDB-14168

Conversation

@ianton-ru
Copy link
Copy Markdown
Contributor

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Changelog category (leave one):

  • Performance Improvement

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Reduce default settings for S3 multipart upload part size

Detailed description / Documentation draft:
Set default value for s3_min_upload_part_size and s3_max_single_part_upload_size to 32Mb.
s3_min_upload_part_size is a size for in-memory buffer, new value required for reduce memory usage.
s3_max_single_part_upload_size should be less or equal to s3_min_upload_part_size.

@robot-clickhouse robot-clickhouse added the pr-performance Pull request with some performance improvements label Sep 7, 2021
@ianton-ru
Copy link
Copy Markdown
Contributor Author

Also this is a cause for less upload speed (~ 10% slower on my test cluster)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-performance Pull request with some performance improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants