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 2020/04/23 07:42:42 UTC
[GitHub] [incubator-pinot] fx19880617 opened a new pull request #5291: Query perf tuning: improve GroupBy query perf by setting initial size for HashMap
fx19880617 opened a new pull request #5291:
URL: https://github.com/apache/incubator-pinot/pull/5291
Hashmap used in DictionaryBasedGroupKeyGenerator for holding groupKeys is initialized with default initial size(16), which is very small. This caused performance degradation for group by queries with many groupKeys.
In order to run select group by query, the time used to scan 36MM entries are:
- Not setting initial size: 1400ms
- Setting initial size: 900ms
Credit to @npawar , @kishoreg for benchmark
----------------------------------------------------------------
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
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org