Avatar of Matter73
Matter73

asked on 

SSIS Is so slow...

I am averaging about 1000 records loaded an hour.  My software is:
Windows Server 2008 R2 Standard x64
SQL Server 2008 R2 standard x64

The Windows Server is a Quad Core and has 16 Gig of Ram.  This process used to take 4 hours longer, until we moved to this new server, which the 1000 records per hour still stinks.  I am not a newby, but am somewhat to SSIS.  This is a SQL Server to SQL Server and I feel that If I had done all this with stored procedures and server cursors I would have been better off.  Are there any known performance gotchas that I should be aware of.  This load time is so rediculous that I must be doing something wrong?
Microsoft SQL Server

Avatar of undefined
Last Comment
Jason Yousef
Avatar of Reza Rad
Reza Rad
Flag of New Zealand image

what did you do in data flow?
what is your source type?
what is your destination type?
did you used Fast Load in destination?
do you have any transformation between source and destination?
Avatar of Jason Yousef
Jason Yousef
Flag of United States of America image

Hi,

As @reza_rad said, what component and tasks you're using, so we can direct you to the right way, a nice screen shot of your package will do.

also you could surf that

http://technet.microsoft.com/en-us/library/cc966529.aspx

it'll give you an idea about the various component that SSIS is using , whether it's Non-blocking, Semi-blocking and Fully-blocking components.
Avatar of Ebcidic
Ebcidic
Flag of India image

Hi,
  If you are not doing a truncate - load, I suggest drop all Index and recreate those after the Load.
Avatar of Matter73
Matter73

ASKER

I have been making heavy use of the foreach loop.  I have been reading on the net that the foreach loop was not meant to act as a cursor for datasets.  Other's have gone on to say that this would be painfully slow and that this should be implemented with a SQL Server server side cursor outside of SSIS.  Please, any thoughts on this subject would be most appriciated.  

Note:  I have about 5,000 rows and it takes about 5 hours to process....
Avatar of Ebcidic
Ebcidic
Flag of India image

Hi,
  If its such a heavy process, probably you can have a script task handle it. I think that way you will
 have the flexibility of using c# and getting it executed the way you want without much hassle.
ASKER CERTIFIED SOLUTION
Avatar of Jason Yousef
Jason Yousef
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Microsoft SQL Server
Microsoft SQL Server

Microsoft SQL Server is a suite of relational database management system (RDBMS) products providing multi-user database access functionality.SQL Server is available in multiple versions, typically identified by release year, and versions are subdivided into editions to distinguish between product functionality. Component services include integration (SSIS), reporting (SSRS), analysis (SSAS), data quality, master data, T-SQL and performance tuning.

171K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo