dbTalk Databases Forums  

SSIS - Nov RTM - For each container - performance issue !!!

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss SSIS - Nov RTM - For each container - performance issue !!! in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Nitesh
 
Posts: n/a

Default SSIS - Nov RTM - For each container - performance issue !!! - 11-14-2005 , 01:56 PM






I have a for each container configured to iterate over files in a directory
(around 2600 files). The for each container contains only one data flow task.
The data flow task is very simple. Only 3 steps. Read from file using flat
file source (ragged right), format column values (eg. converting YYYYMMDD
into yyyy/mm/dd and TRIM spaces - 13 such conversions) using derived column
transform and inserting them into a table (23 columns - mostly nvarchar, few
numerics and few dates) using Ole Db Destination. The table has one
non-unique clustered index on nvarchar(18) column. Each of the 2600 file has
at an average 750000 rows.

It seems to me that memory deallocation doesn't happen after each iteration
of the loop (I might be wrong). So after few iterations, sqlservr.exe is
hogging all available memory (2GB in this case) whereas my dual processors
are running at 3-6 % of capacity. As a result, to process less than 5 million
rows, it is taking 6 hours.

I am surprised that for such a trivial operation, performance should degrade
this much.

Any insight?

TIA,
Nitesh

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.