Observation in Teradata Enterprise Stage

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
shershahkhan
Participant
Posts: 64
Joined: Fri Jan 25, 2008 4:41 am

Post by shershahkhan »

When you will use Append mode to insert data into the final table, Enterprise stage create a working table, all the rows are written into that table thats what the log is saying Rows written: 153,027,180. After this step the data is copied to target table using the following query
INSERT INTO TARGETTABLE
SELECT * FROM WORKTABLE

so according to the log there are 4 rows which are already present in the target table so they are dropped, and thats why Input rows: 153,027,176
Nripendra Chand
Premium Member
Premium Member
Posts: 196
Joined: Tue Nov 23, 2004 11:50 pm
Location: Sydney (Australia)

Post by Nripendra Chand »

But log says that 153,027,180 records inserted from staging table. Please refer the below line of log:

Rows inserted from staging table: 153,027,180
-Nripendra Chand
hamzaqk
Participant
Posts: 249
Joined: Tue Apr 17, 2007 5:50 am
Location: islamabad

Post by hamzaqk »

How many records should be coming through if you run a SQL for it ? are they 153,027,176 or 153,027,180? how about debugging it by putting a remove duplicate stage after the source and then inserting it ?
Teradata Certified Master V2R5
Post Reply