Hi
Source is Sequential file
Target is DB2UDB table
AIX server
We have to insert huge amount of records(70 millions) as part of the initial load into a table. If the Target table is partitioned is there any way to route the records using DataStage to particular partition in DB2UDB database. Target table is what they call hash partitioned. As far as I understood I think this acts on a high cardinality field to figure out which partition to go to. There is an API in DB2 called sqlugrpn to determine the parition number. Is anyone used this API in DataStage ?
If so can you shed some light on how to use it ?
Thanks
Partitions in DataStage - DB2UDB
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Another possibility, if you have it, is to use a parallel job, in which the DB2/UDB Enterprise stage is intimately cognizant of the DB2 partitioning algorithm.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.