Data missing in table but log says data inserted

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
sarathchandrakt
Participant
Posts: 50
Joined: Fri Aug 29, 2014 1:32 pm
Location: Mumbai

Data missing in table but log says data inserted

Post by sarathchandrakt »

Hi,

I am running a simple source to target data migration job. My log says following,

SOURCE_TABLE,0: Number of rows fetched on the current node: 897.
TARGET_TABLE,1: Number of rows inserted on the current node: 448.
TARGET_TABLE,0: Number of rows inserted on the current node: 449.


But when i look in the table there are only 442 rows inserted.

I am sure my query is not wrong because i am inserting data into a empty table.

What can be the probable reason?
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

One guess is that you are truncating or deleting the target table multiple times in parallel? Another guess is your target table may have a different primary key defined than the source table?
Choose a job you love, and you will never have to work a day in your life. - Confucius
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Do you have a rejects link to capture any rows the were sent but failed to be inserted?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply