I have the following SSIS package:
alt text http://www.freeimagehosting.net/uploads/5161bb571d.jpg
The problem is that in the Foreach loop, the connection opens and closes for each iteration.
When starting SQL Profiler, I see a series:
- Login to the audit system
- RPC: completed
- Exit audit
The duration of entry and RPC, which actually does the job, is minimal. However, the duration of the exit from the system is significant, and it takes several seconds. This makes the JOB run very slowly - it takes many hours. I get the same problem when starting either on a test server or on a standalone laptop.
Can anyone suggest how I can change the package to improve performance?
In addition, I noticed that when you run the package from Visual Studio, it looks as if it continues to work so that the component blocks become amber and then green, but in fact, all processing is completed and the SQL profiler is disabled?
Thank,
Rob.
source
share