Lower memory usage after reading from MergeTree tables#59290
Merged
alexey-milovidov merged 2 commits intoClickHouse:masterfrom Jan 28, 2024
Merged
Lower memory usage after reading from MergeTree tables#59290alexey-milovidov merged 2 commits intoClickHouse:masterfrom
MergeTree tables#59290alexey-milovidov merged 2 commits intoClickHouse:masterfrom
Conversation
Member
Author
|
I made a test with table with 100 parts and 30 columns by this script. Memory usage for horizontal merge: SELECT
event_time,
table,
merge_algorithm,
length(merged_from) AS num_source_parts,
formatReadableSize(peak_memory_usage) AS memory_usage,
formatReadableSize(bytes_uncompressed) AS bytes_uncompressed,
formatReadableQuantity(rows) AS rows
FROM system.part_log
WHERE (table IN ('t_local_normal', 't_s3_normal')) AND (event_type = 'MergeParts') AND (part_name = 'all_1_100_1')Before: After: |
Contributor
|
This is an automated comment for commit ef133bf with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page Successful checks
|
alexey-milovidov
approved these changes
Jan 27, 2024
Member
|
Wow |
Member
|
@CurtizJ, let's merge with master to run the perf tests again. |
Member
Author
|
Build failed with error and was not restarted automatically. I think it's a bad practice to fail the whole build and restart it because of failure in optional functionality (send traces to ci logs cluster). |
Member
|
Performance tests ok. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Lower memory usage after reading from
MergeTreetables