You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2019/06/25 03:24:29 UTC
[GitHub] [incubator-pinot] Jackie-Jiang opened a new pull request #4363:
When initializing mutable dictionary,
preserve 20% buffer for cardinality to reduce the chance of re-sizing the
dictionary
Jackie-Jiang opened a new pull request #4363: When initializing mutable dictionary, preserve 20% buffer for cardinality to reduce the chance of re-sizing the dictionary
URL: https://github.com/apache/incubator-pinot/pull/4363
The current off-heap mutable dictionary is designed to hold all values in a single buffer
If the buffer allocated is just enough for the cardinality estimation, there are quite high possibility that the dictionary needs to be expanded, which will impact performance
In order to reduce the chance of re-sizing the dictionary, preserve 20% buffer for cardinality
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org