-
Notifications
You must be signed in to change notification settings - Fork 6.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow vertical merges from compact to wide parts #45681
Allow vertical merges from compact to wide parts #45681
Conversation
Let's mark it as a "Performance improvement", although it is mostly a memory usage improvement. |
Tried to test a bit First Before
After
Second Before
After
Looks like ~30% less memory usage for (wide + a few compact) parts. |
Interestingly that for a case of 2 wide parts merge required 674.98 MiB. Looks too much. |
Seems that it breaks the rolling upgrade. Will reupload under a settings. |
Interesting, how exactly? |
The way how |
CHECKSUM_DOESNT_MATCH is not an incompatibility, it is a normal situation during upgrading. |
Also I'm afraid that this change will trigger |
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Allow using Vertical merge algorithm with parts in Compact format. This will allow ClickHouse server to use much less memory for background operations. This closes #46084