Skip to content
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

Improve performance of analysing index with IN #9261

Merged
merged 7 commits into from Mar 4, 2020

Conversation

CurtizJ
Copy link
Member

@CurtizJ CurtizJ commented Feb 20, 2020

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):

Improve performance of analysing index with IN

@CurtizJ
Copy link
Member Author

CurtizJ commented Feb 28, 2020

Result of performance comparison test.

Old, s New, s Relative difference (new - old)/old Randomization distribution quantiles [5%, 50%, 95%, 99%] Test Query
0.1259 0.0273 -0.784 [0.674,0.685,0.743,0.754] set_index SELECT count() FROM test_in WHERE a IN (SELECT rand(1) FROM numbers(100000)) SETTINGS max_rows_to_read = 1, read_overflow_mode = 'break'

@CurtizJ CurtizJ marked this pull request as ready for review February 28, 2020 22:31
@CurtizJ CurtizJ added the pr-performance Pull request with some performance improvements label Feb 28, 2020
@CurtizJ CurtizJ changed the title Try improve performance of analysing index with IN Improve performance of analysing index with IN Feb 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-docs-needed pr-performance Pull request with some performance improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants