MS SQL Server Bulk Insert configuration

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
SWW
Participant
Posts: 29
Joined: Thu Nov 11, 2004 12:51 pm
Location: Louisville

MS SQL Server Bulk Insert configuration

Post by SWW »

We are running jobs which bulk insert several tables ranging from 5 million to 20 million records each day. For narrow tables we average a load rate of about 750 records/sec. The row buffers are set to 512Kb, In process. The commit size is 10000. The source data is remote to the target server across a T1 line. How can we improve overall performance on the bulk inserts? Are there SQL Server parameters we should also "tweak" on the target server?
SWKYDERBY
roy
Participant
Posts: 2598
Joined: Wed Jul 30, 2003 2:05 am
Location: Israel

Post by roy »

Hi,
As said before (search this forum for complete coverage)
best performance will be using native bulk load.

is your SQLServer on the same machine as your DS Server?
if so try invoking it via command line or user defined SQL.

Tweeking SQLServer parameters is a question for your DBAs.

I would storngly recommend that you'll test the load performance using SQLServer's bulk load mechanism without using DS to get the aproximate thru-put you can get.
In other words if SQLSerer can only give you 750 rows/second loading from a sequential ascii file there is no real chance DS will do it faster.
(depending both are configured for maximum performance).

IHTH,
Roy R.
Time is money but when you don't have money time is all you can afford.

Search before posting:)

Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Image
Post Reply