How to load data by doing record by record comparision

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
saxena_richa
Participant
Posts: 24
Joined: Mon Apr 24, 2006 3:34 am
Location: USA

How to load data by doing record by record comparision

Post by saxena_richa »

Hello,
I hv to load data frm a source view in foll way:-
Compare the incoming record with existing ones in target, and if there is any difference, load the incoming record else dont load. There is no key column defined in the source, so we cant check any 1 column but need to check data in all the columns of a record

Based on this requirement, I thought of using a change capture stage. Is there any other way of achieving this? As of now I am getting the foll error and the job aborts after abt loading 11 million recs..

Fatal Error: Pipe read failed: short read and

Fatal Error: Tsort merger aborting: Scratch space full

The source is a view with arnd 230 million recds.
Thnks
Richa
Meera
Premium Member
Premium Member
Posts: 21
Joined: Mon Nov 28, 2005 8:42 pm

Re: How to load data by doing record by record comparision

Post by Meera »

I still do not understand why a source with 230 million rows doesnt have a key column. And if there is no key, how do you define delta rows?
gateleys
Premium Member
Premium Member
Posts: 992
Joined: Mon Aug 08, 2005 5:08 pm
Location: USA

Re: How to load data by doing record by record comparision

Post by gateleys »

Not having source system keys can be a pain. Now, while there is a possibility that there may be duplicity, but computing a CRC value on the concatenated values of the row and then comparing it against the same for target may be the way to go.
gateleys
keshav0307
Premium Member
Premium Member
Posts: 783
Joined: Mon Jan 16, 2006 10:17 pm
Location: Sydney, Australia

Post by keshav0307 »

how many computing nodes you are using??
what is type of partition used??
Post Reply