is it jdbc or http query? ive seen some evidence that heavy jdbc workloads can seem to clog the broker parallel merge pool, i suspect there might be some not great behavior, especially when some jdbc clients are not fetching all of their results or fetching them very slowly (since jdbc shifts the query completing onto the client, and on the broker the query is pulling stuff out of a blocking queue of the parallel merge pool)
Clint Wylie
10/29/2022, 8:46 PM
i have some theories at least
Clint Wylie
10/29/2022, 8:48 PM
in the flame graphs i saw the merge pool itself appeared to be blocked trying to put results into these blocking queues, indicating that it was waiting for downstream stuff to finish consuming the sequence and close everything out
g
Gian Merlino
11/01/2022, 12:38 AM
it could be something simple like waiting for a merge buffer: this time isn't counted in
query/cpu/time
since we're just waiting
Gian Merlino
11/01/2022, 12:38 AM
if that's in, increasing the # of merge buffers would be useful