Hi @Sri Devi,Please try below methods.
- Play with BufferSize and Max rows property values and run the Data Flow and set what works best
- Reduce the SQL Server max memory so that devenv.exe gets more memory
- Source data was sorted so used the ORDER BY hint at OLE DB Destination.
- Try to run the same package from different server with more RAM
Once you've simplified the dataflow, but you are still seeing poor performance, isolate the bottleneck. Run the dataflow with just the source and see how long it takes. If that's slow, tune the source query. Add subsequent tasks to the dataflow and measure the performance. If you're only step that is slow is the destination, tune that.
For tuning a destination, try using a staging table with no indexes on it. Use TABLOCK which will tell SQL to use minimal logging. Once you've implemented the staging pattern, tune the SQL to load the data into the final table.
For tuning the source, avoid views because they may contain unnecessary joins and columns that you are not using, or use a view that is dedicated to your process so it can be written for exactly what you need. A proc can be a better choice overall if there are a lot of tables involved - performance can be improved by using temp tables to stage data before joining it to the final largest table for the select.
Check: SQL Server Integration Services Performance Best Practices
Regards,
Zoe Hui
If the answer is helpful, please click "Accept Answer" and upvote it.