DSjob Using Teradata Fastload

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

swathik
Participant
Posts: 8
Joined: Sun Dec 30, 2007 12:31 am
Location: hyderabad

DSjob Using Teradata Fastload

Post by swathik »

Hi Guys,

How to create a job to load the data in a pre-populated Teradata table using Fast Load. Please give me guideliness for doing this job.As i am new to teradata with datastage.

Thanks in advance to helping out.
Last edited by swathik on Mon Apr 14, 2008 3:02 am, edited 2 times in total.
keshav0307
Premium Member
Premium Member
Posts: 783
Joined: Mon Jan 16, 2006 10:17 pm
Location: Sydney, Australia

Post by keshav0307 »

created
bkumar103
Participant
Posts: 214
Joined: Wed Jul 25, 2007 2:29 am
Location: Chennai

Post by bkumar103 »

Is this a suggestion or do you really have any problem.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Teradata Enterprise Stage supports Fast Load in Append mode. Read the pertinent chapter in the Parallel Job Developer's Guide
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
swathik
Participant
Posts: 8
Joined: Sun Dec 30, 2007 12:31 am
Location: hyderabad

Hi

Post by swathik »

ray.wurlod wrote:Teradata Enterprise Stage supports Fast Load in Append mode. Read the pertinent chapter in the Parallel Job Developer's Guide ...

Thank You.
hamzaqk
Participant
Posts: 249
Joined: Tue Apr 17, 2007 5:50 am
Location: islamabad

Post by hamzaqk »

You cannot fastload into an already populated table. it Multi loads data into the table. this is one of the reasons that a temporary table is created when we use the enterprise stage.

Teradata Certified Master V2R5
hamzaqk
Participant
Posts: 249
Joined: Tue Apr 17, 2007 5:50 am
Location: islamabad

Post by hamzaqk »

this is what the teradata enterprise stage does internally in the first place..................
bkumar103
Participant
Posts: 214
Joined: Wed Jul 25, 2007 2:29 am
Location: Chennai

Post by bkumar103 »

Fast load cant load data into the allready populated table. To laod data into prepopulated table use the multiload( Best for the block level operation) or TPUMP (Provids real time facility)
Birendra
hamzaqk
Participant
Posts: 249
Joined: Tue Apr 17, 2007 5:50 am
Location: islamabad

Post by hamzaqk »

where did i say it can ?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

hamzaqk wrote:You cannot fastload into an already populated table. it Multi loads data into the table. this is one of the reasons that a temporary table is created when we use the enterprise stage.
What you say is true, but DataStage hides that from the developer by describing the operation as "Fast Load in Append Mode".
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
hamzaqk
Participant
Posts: 249
Joined: Tue Apr 17, 2007 5:50 am
Location: islamabad

Post by hamzaqk »

Thanks, but i do not support the idea that it should be called "Fast load in append mode" in the first place as the name conflicts with the real functionality of fastload itself. Apart from this the only fast load which the job does while using Enterprise Edition is into the empty table work_orch_xxx from which it simply does and select-insert opertation. (of record another very fast way of loading data in TD provided PI is the same for temp table and target table). :D
fridge
Premium Member
Premium Member
Posts: 136
Joined: Sat Jan 10, 2004 8:51 am

Post by fridge »

one (possibly useless) remark on using enterprise stage for TeraData - we found that it seems to do a count(*) before and after the actual load (which as already mentioned does a fastload into a staging table - then insert from subselect).

If there are more than 2Billion records in the target table then the count causes an aritmetic overflow which generates an error (though doesnt abort as I recall) - u cant switch this off - but can cause be confusing
John Smith
Charter Member
Charter Member
Posts: 193
Joined: Tue Sep 05, 2006 8:01 pm
Location: Australia

Post by John Smith »

I think the confusion here is around semantcis of the words "Fast Load" ; In the Teradata world, Fast load is the name of their utility that loads only to a non-empty table. When IBM developed the Teradata Enterprise stage, they worked with Teradata to make a fast load that can append to a table. So the DS Enterprise stage makes use of Teradata Fast Load to load a temporary (empty) table and then insert into the target table thus providing what looks like an Append.

Hope this clears up the confusion. So when you speak to the Teradata centric folks ,don't tell them Fast Load to append. That will drive them :o
JoshGeorge
Participant
Posts: 612
Joined: Thu May 03, 2007 4:59 am
Location: Melbourne

Post by JoshGeorge »

Have a look at this blog post Datastage 7x Enterprise Editionwith Teradata , it has details about Teradata Utilities (& how) which can be used in DataStage.
Joshy George
<a href="http://www.linkedin.com/in/joshygeorge1" ><img src="http://www.linkedin.com/img/webpromo/bt ... _80x15.gif" width="80" height="15" border="0"></a>
hamzaqk
Participant
Posts: 249
Joined: Tue Apr 17, 2007 5:50 am
Location: islamabad

Post by hamzaqk »

Another reason it should not be called Fast load is because Fastload does not support loading into a table with secondary index on it.

Teradata Certified Master V2R5
Post Reply