Quantcast
Viewing all articles
Browse latest Browse all 24688

Execute SQL Task Poor Performance

I have an SSIS package in SQL 2008 R2 that contains an execute SQL task that simply calls a stored procedure on SQL 2005 to update monthly totals.  It creates a table variable that contains a couple thousand rows.  Then truncates the totals table and dumps the contents of the table variable into the physical table.  It has no parameters.  When I run the stored procedure from management studio, it runs consistently in 30 seconds.  When I run it from SSIS, it hangs and does not finish. I have looked for blocking and found nothing.  I'm not sure what else to look for.  I don't think I have ever run into this situation before.  I have tried different connection types OLEDB, ADO .NET;  I've tried different isolation levels but nothing seems to help the task work better.

Anyone have any thoughts?


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>