all groups > sql server dts > july 2003 >
You're in the

sql server dts

group:

Bulk Insert


Bulk Insert *
7/28/2003 2:00:54 PM
sql server dts:
I am importing a vertical bar delimited file and it seems to go so much
slower then if I used a fixed field file. Is that normal or is there
something I am doing wrong.
(Ex. importing the same file in both bar delimited and Fixed length. Fixed
length takes about 1 minute and bar delimited file takes 14 miutes.)

Thanks in advance.

Re: Bulk Insert Brendan Lane
7/28/2003 3:47:47 PM
I have 363 columns and 383,000 rows. When I bulk insert using fixed field it
takes 2 minutes. When I import bar delimited file it takes 11 minutes. The
reason I have to import this file twice is because when I import the fixed
length file it doesn't convert all space fields to nulls and this is the
only work around I have found that works based on speed. Just wish I could
get the same speed importing the bar delimited file.


[quoted text, click to view]

Re: Bulk Insert Allan Mitchell
7/28/2003 7:45:06 PM
I have just imported an 8 column all integer 303,000 row comma delim text file in 1 second
(1second = | delimiter)

I imported a 1.7 million row text file Fixed width 8 * 1 char with format file in 7 seconds

I think speeds should be more or less comparable.

What version SQL Server and SP ?


--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
AddThis Social Bookmark Button