mirror of https://github.com/apache/druid.git
97207cdcc7
* Automatic sizing for GroupBy dictionary sizes. Merging and selector dictionary sizes currently both default to 100MB. This is not optimal, because it can lead to OOM on small servers and insufficient resource utilization on larger servers. It also invites end users to try to tune it when queries run out of dictionary space, which can make things worse if the end user sets it to too high. So, this patch: - Adds automatic tuning for selector and merge dictionaries. Selectors use up to 15% of the heap and merge buffers use up to 30% of the heap (aggregate across all queries). - Updates out-of-memory error messages to emphasize enabling disk spilling vs. increasing memory parameters. With the memory parameters automatically sized, it is more likely that an end user will get benefit from enabling disk spilling. - Removes the query context parameters that allow lowering of configured dictionary sizes. These complicate the calculation, and I don't see a reasonable use case for them. * Adjust tests. * Review adjustments. * Additional comment. * Remove unused import. |
||
---|---|---|
.. | ||
aggregations.md | ||
caching.md | ||
datasource.md | ||
datasourcemetadataquery.md | ||
dimensionspecs.md | ||
filters.md | ||
granularities.md | ||
groupbyquery.md | ||
having.md | ||
hll-old.md | ||
joins.md | ||
limitspec.md | ||
lookups.md | ||
multi-value-dimensions.md | ||
multitenancy.md | ||
post-aggregations.md | ||
query-context.md | ||
query-execution.md | ||
querying.md | ||
scan-query.md | ||
searchquery.md | ||
segmentmetadataquery.md | ||
select-query.md | ||
sorting-orders.md | ||
sql-aggregations.md | ||
sql-api.md | ||
sql-data-types.md | ||
sql-jdbc.md | ||
sql-metadata-tables.md | ||
sql-multivalue-string-functions.md | ||
sql-operators.md | ||
sql-query-context.md | ||
sql-scalar.md | ||
sql-translation.md | ||
sql.md | ||
timeboundaryquery.md | ||
timeseriesquery.md | ||
topnmetricspec.md | ||
topnquery.md | ||
troubleshooting.md | ||
using-caching.md | ||
virtual-columns.md |