diff --git a/docs/_redirects.json b/docs/_redirects.json index 1ab3a9c867ef..e053a62e487f 100644 --- a/docs/_redirects.json +++ b/docs/_redirects.json @@ -54,7 +54,7 @@ {"source": "Other-Hadoop.html", "target": "operations/other-hadoop.html"}, {"source": "Papers-and-talks.html", "target": "misc/papers-and-talks.html"}, {"source": "Peons.html", "target": "design/peons.html"}, - {"source": "Performance-FAQ.html", "target": "operations/performance-faq.html"}, + {"source": "Performance-FAQ.html", "target": "operations/basic-cluster-tuning.html"}, {"source": "Plumber.html", "target": "design/plumber.html"}, {"source": "Post-aggregations.html", "target": "querying/post-aggregations.html"}, {"source": "Query-Context.html", "target": "querying/query-context.html"}, @@ -165,6 +165,5 @@ {"source": "development/community-extensions/kafka-simple.html", "target": "../extensions-contrib/kafka-simple.html"}, {"source": "development/community-extensions/rabbitmq.html", "target": "../extensions-contrib/rabbitmq.html"}, {"source": "development/extensions-core/namespaced-lookup.html", "target": "lookups-cached-global.html"}, - {"source": "operations/insert-segment-to-db.html", "target": "../index.html"}, {"source": "operations/performance-faq.html", "target": "../operations/basic-cluster-tuning.html"} ] diff --git a/docs/content/querying/groupbyquery.md b/docs/content/querying/groupbyquery.md index 125d793faadb..1445fee87259 100644 --- a/docs/content/querying/groupbyquery.md +++ b/docs/content/querying/groupbyquery.md @@ -288,7 +288,8 @@ disk space. With groupBy v2, cluster operators should make sure that the off-heap hash tables and on-heap merging dictionaries will not exceed available memory for the maximum possible concurrent query load (given by -druid.processing.numMergeBuffers). See [How much direct memory does Druid use?](../operations/performance-faq.html) for more details. +druid.processing.numMergeBuffers). See the [Basic Cluster Tuning Guide](../operations/basic-cluster-tuning.html) +for more details about direct memory usage, organized by Druid process type. Brokers do not need merge buffers for basic groupBy queries. Queries with subqueries (using a "query" [dataSource](datasource.html#query-data-source)) require one merge buffer if there is a single subquery, or two merge buffers if there is more than one layer of nested subqueries. Queries with [subtotals](groupbyquery.html#more-on-subtotalsspec) need one merge buffer. These can stack on top of each other: a groupBy query with multiple layers of nested subqueries, and that also uses subtotals, will need three merge buffers.