Slackbot
06/15/2023, 8:12 PMSergio Ferragut
06/15/2023, 11:18 PMquery/wait/time
-Milliseconds spent waiting for a segment to be scanned.
2/ I don't know the code enough to answer directly. I know that for each query, the broker will open connections to each data server (historical, real-time task) that contains the segments it needs. It retrieves the data from each and merges them. One metric that might help:
query/node/time Milliseconds taken to query individual historical/realtime processes.
One known possible contention point is the http threads on the data servers (historicals, real-time tasks) druid.server.http.numThreads
which need to be enough to hold the sum of druid.broker.http.numConnections
across all brokers and a bit more for internal comms.Kai Sun
06/15/2023, 11:57 PM