Teradata TPT Load method

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
Akhobare
Participant
Posts: 17
Joined: Mon Aug 17, 2009 8:24 am
Location: Pune

Teradata TPT Load method

Post by Akhobare »

Hi ,
I need to confirmation about a case where i am fetching data from Teradata table and loading data into same table through TPT stage in same job.

As of now , job is loading data without any misappropriation. What i understand TPT->Bulk->Load is fastLoad method. So it should create empty work table , load data in it , then append work table data in target(source) table , lastly drop work table.( At least this holds true in Tedata Enterprise stage).

Can anyone endorse above understanding for TPT stage? OR reading & loading data from/in same table in same job can be errornuous/risky?

Thanks in advance.
Regards,
Akshay
Akhobare
Participant
Posts: 17
Joined: Mon Aug 17, 2009 8:24 am
Location: Pune

Post by Akhobare »

Can any one reply to above question?
Regards,
Akshay
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Sorry... I have no Teradata experience. Hopefully someone who does will be along.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Akhobare
Participant
Posts: 17
Joined: Mon Aug 17, 2009 8:24 am
Location: Pune

Post by Akhobare »

np...

I had reply from within the team and as per reply, read ( simple fetch or through SQLs) always completed prior to load.
Besides while doing fastload (bulk --> load in append mode) orchstrate work table is created and loaded with data , then appended to target table.
So there shouldn't be any issue.
If still someone not convinced , in source SQL don't use 'Locking table .. for ACCESS'. Read lock on table will ensure records are read first and when its completed loading can start.

Thanks
Regards,
Akshay
Post Reply