JRob
07/02/2024, 7:22 PMdruid.processing.numThreads or is there a limit? Will any other queries be able to run if one query (or a small handful of queries) is utilizing all numThreads or are there more threads actually executing queries (e.g. up to druid.server.http.numThreads)?JRob
07/02/2024, 7:35 PMBy default, Historicals use all their available processing threads (configured by^ does this mean aggregations are essential done sequentially on Historicals? If I had a large query where aggregation took 10 seconds; do all other queries wait in a queue for 10 seconds for the first aggregation to complete?) for aggregation, but use a single thread for sorting and merging aggregates which is an http thread to send data to Brokers.druid.processing.numThreads
Kyle Hoondert
07/03/2024, 6:57 AMquery/segment/time per query, you might want to change the priority of those queries so that other queries can jump the queue
From https://druid.apache.org/docs/latest/querying/query-context#general-parameters
Query priority. Queries with higher priority get precedence for computational resources.
Laksh Singla
07/03/2024, 4:10 PMIf I had a large query where aggregation took 10 seconds; do all other queries wait in a queue for 10 seconds for the first aggregation to complete?The thread used for aggregation is not the one that’s processing the segments. The sorting/merging happens on the queries http thread afaik, so queries don’t hog up the threads when doing merging or sorting. The number of merge buffers for aggregation is limited however, so queries can be blocked on that
JRob
07/03/2024, 7:25 PM