Slackbot
09/19/2022, 3:23 PMGian Merlino
09/19/2022, 7:43 PMdruid.processing.numThreads, druid.processing.buffer.sizeBytes, and -Xmx in jvm.config
2) ensure you don't have too many small segments: overheads per-segment can be high in this case. you can use the web console or sys.segments table to see the average number of rows per segment. Generally we target a few million per segment. Lower is OK if you have a smaller amount of data. But you don't want tons of segments that are, like, 10000 rows each
3) you can use a flame graph https://support.imply.io/hc/en-us/articles/360033747953-Profiling-Druid-queries-using-flame-graphs to see what specific code is taking up your processing time. very useful tool!