I find the custom query activity to query takes between 1.5 and 4 seconds for the same activity. It seems random as to the variation and query itself takes less than 100ms when I run it in a SQL tool. Its only returning 1 to 5 rows.
This behavior is in line with pretty much every database query we have. We just setup a new set of servers on a very fast database server and I am disappointed I'm not seeing faster results.
How can I find out why its so slow? Is there a way to speed it up? Maybe cut the overhead in Workflow?
I'm specifically worried about creating a new batch sync process in WF. I'd like to make sure those activities are as fast as possible.
(Running the newest version of WF 10.2)