I have a workflow that takes data from a database and writes it to a different database, which used to run in about 30 minutes. I added in another data source, joined the two sources together, and added about three columns to the original data source from the new source. But after making that change, the workflow now takes over 8 hours to run.
When I do performance profiling on the workflow, it indicates that the output data tool is what is taking the longest, 99.5% of the time. All of the other tools run and finish in a few minutes. In the output data tool, I have tried using Delete Data & Append as well as Overwrite Table, but there is very little difference in the performance of the two.
What is going on? How can I make the output data tool not take so long? Why would the workflow now be taking so long to run?