We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Consecutive cache of HashMap: check code:
tiflash/dbms/src/Common/ColumnsHashingImpl.h
Line 212 in 93d7395
It's useful when consecutive same key inserting into HashMap, because the cache avoid search HashMap.
But if NDV is big(a.k.a. all keys are different), the consecutive cache is useless and there will be extra copy of key.
So we should detect the NDV automatically and decide whether to use consecutive cache by the workload.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Enhancement
Consecutive cache of HashMap: check code:
tiflash/dbms/src/Common/ColumnsHashingImpl.h
Line 212 in 93d7395
It's useful when consecutive same key inserting into HashMap, because the cache avoid search HashMap.
But if NDV is big(a.k.a. all keys are different), the consecutive cache is useless and there will be extra copy of key.
So we should detect the NDV automatically and decide whether to use consecutive cache by the workload.
The text was updated successfully, but these errors were encountered: