Hi
I have developed a workflow comprising more than 70 tools wherein multiple tables are being read from Teradata & MS SQL server DBs.
The output of workflow is being written directly to a staging table on MS SQL DB using standard output tool ODBC connection (tried OLeDB, but didn't help much). The workflow is typically processing ~700k rows with ~80 columns; its taking 1hr & 20 mins of runtime which is way too high to deploy it as solution to the client. The output tool takes more than 75% of processing time when checked in profiler.
However, when i store the same output in CSV and feed it to workflow where only output tool (writing to MS SQL) staging db is configured, it completes within 4 mins. Also the workflow, when run without output tool, takes around 15 mins to complete all the transformation. So separately the workflow needs 15+4 = ~20 mins but when put together, t takes 1 hr. 20 mins.
The ultimate goal is to publish & schedule the workflow on gallery. This is utmost priority to me as all the hard work will vain if workflow takes that much time
Any suggestion are most appreciated.