Solved

BULK INSERT GETTING SLOW FROM SSIS 2008

Posted on 2010-11-20
4
1,418 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 500 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

772 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