Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

BULK INSERT GETTING SLOW FROM SSIS 2008

Posted on 2010-11-20
4
Medium Priority
?
1,432 Views
Last Modified: 2013-11-10
We have a package where it copies about 100 million records each day from the OLTP to the OLAP enviornment.We are using OLDEDB Destination with fast load to do this.It works ok till 40 million and after that it slows down drastically and almost stalled at somepoint.
Is there anything that Im missing.
?
Currently I have row commit size to infinite and row per batch size to 1 million.
Thanks
0
Comment
Question by:venk_r
4 Comments
 
LVL 23

Accepted Solution

by:
Racim BOUDJAKDJI earned 1000 total points
ID: 34179952
<<Currently I have row commit size to infinite and row per batch size to 1 million.>>
Reduce both to 10000.  Also, please post the INSERT and SELECT queries so that we can help further.  Finally make sure your tempdb is well sized and that you do not have too frequent extent.  hope this helps...
0
 
LVL 30

Expert Comment

by:Reza Rad
ID: 34180267
I strongly recommend to read this article carefully, and raise up performance of your data flow with it:
http://www.simple-talk.com/sql/ssis/sql-server-2005-ssis-tuning-the-dataflow-task/
0
 
LVL 12

Expert Comment

by:ill
ID: 34229093
How long and when is the insert running? Common problem could be:
1. Any other processes running on source/destination box at the same time? Backup perhaps?
2. Doeas destination DB have enough free space? Could be that after first 40 mil. rows, DB space increasing causes additional IO.
3. Network load is fine?
0
 
LVL 8

Author Closing Comment

by:venk_r
ID: 34409466
thanks
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question