Skip to content

Using required columns for block size prediction - #25917

Merged
kitaisreal merged 8 commits into
ClickHouse:masterfrom
excitoon-favorites:defaultblocksizeprediction
Jul 13, 2021
Merged

kitaisreal merged 8 commits into
ClickHouse:masterfrom
excitoon-favorites:defaultblocksizeprediction

Conversation

@excitoon

@excitoon excitoon commented Jul 2, 2021 •

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):
Improved memory usage with better block size prediction when reading empty DEFAULT columns. Closes #17317.

@robot-clickhouse robot-clickhouse added the pr-bugfix Pull request with bugfix, not backported by default label Jul 2, 2021
@robot-clickhouse robot-clickhouse added pr-performance Pull request with some performance improvements and removed pr-bugfix Pull request with bugfix, not backported by default labels Jul 4, 2021
@Enmk Enmk added the altinity label Jul 5, 2021
@excitoon
excitoon force-pushed the defaultblocksizeprediction branch from 0e5a1c9 to 26416a2 Compare July 6, 2021 17:30
@excitoon

excitoon commented Jul 6, 2021

Copy link
Copy Markdown
Contributor Author

@kitaisreal kitaisreal self-assigned this Jul 6, 2021
@kitaisreal

Copy link
Copy Markdown
Contributor

@excitoon can you please check 01903_correct_block_size_prediction_with_default fail with Functional stateless tests (thread) .

@excitoon
excitoon force-pushed the defaultblocksizeprediction branch from c54d0b7 to 1474cc7 Compare July 8, 2021 14:01
@excitoon

excitoon commented Jul 9, 2021 •

Copy link
Copy Markdown
Contributor Author

@kitaisreal last fix shall work in 60s fixed that

@kitaisreal
kitaisreal merged commit 3d05f07 into ClickHouse:master Jul 13, 2021
Enmk pushed a commit to Altinity/ClickHouse that referenced this pull request Jul 14, 2021
…ocksizeprediction

Using required columns for block size prediction
Enmk added a commit to Altinity/ClickHouse that referenced this pull request Jul 21, 2021
…th_default

[port of ClickHouse#25917 to Altinity/21.3] Using required columns for block size prediction
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.

On the fly DEFAULT values calculation uses 8 times more memory than expression itself.

4 participants