Oracle Bulk Load

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
dougcl
Premium Member
Premium Member
Posts: 137
Joined: Thu Jun 24, 2010 4:28 pm

Oracle Bulk Load

Post by dougcl »

Hi folks, I am trying to use the Bulk Load option in the Oracle Connector stage.

I have found the following options are required to get a successful load:

1) Use before SQL statement to remove pk and and drop all indexes (including pk index).

2) Use after SQL statement to create pk and all indexes.

3) Set Index maintenance option to "Skip All"

4) Disable logging.

5) Perform operations before/after bulk load? No.

I am wondering if there is anything wrong with this. It seems to be working fine, it reduces my load time from 32 minutes to 14 minutes, although I haven't checked the db to see if it is actually using Direct Load.


Thanks,
Doug
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

It's OK provided that you guarantee - totally - that the data you are loading will not violate any constraints (typically uniqueness constraints in the case of PK index). You may also want to re-calculate table statistics after performing all these tasks.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
dougcl
Premium Member
Premium Member
Posts: 137
Joined: Thu Jun 24, 2010 4:28 pm

Post by dougcl »

ray.wurlod wrote:It's OK provided that you guarantee - totally - that the data you are loading will not violate any constraints (typically uniqueness constraints in the case of PK index). You may also want to re-calculate table statistics after performing all these tasks.
Thanks Ray.

Doug
Post Reply