I have a series of workflows that apply business logic and create output files based on database extracts. The extracts are spread across 3 different workflows and total almost 90 different queries. The workflows are pretty simple - it's basically just Input Data -> Select -> Output Data (as yxdb), in 90 different groups (like the screenshot below). This probably isn't ideal, but I inherited this from a previous developer and it's generally run fine so I haven't invested the time to clean it up.
However lately there have been some performance issues which I believe are coming from the DB, but with so many extracts it's hard to tell where the bottleneck is.
Is there a better way to go about this? Batch macro maybe, but not sure if that will help performance.
