DB2 Bulk Loader or DB2/UDB stage

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
fmartinsferreira
Participant
Posts: 142
Joined: Wed Mar 24, 2004 10:51 am
Location: Brazil

DB2 Bulk Loader or DB2/UDB stage

Post by fmartinsferreira »

I need to read from a sequential file and insert in a db2 table.

What is better to use in the target "DB2 Bulk Loader" or "DB2/UDB stage"
?

Regards,

Fernando
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

It depends upon your datasize. Also depends if your dba will be fussy about giving you load permissions. Bulk loader will be much faster. Inserts will be slow. But if data size is small use the API else use the bulk loader.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Post Reply