FULL outer join

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

uppalapati2003
Participant
Posts: 70
Joined: Thu Nov 09, 2006 2:14 am

Post by uppalapati2003 »

pradkumar wrote:Thanks for all the suggestions



Hai pradkumar,
merge stasge is there in server we can use this stage also . instead of hash file .(In merge stage they r so many joins are there v can perform it in merge stage.)
Srini
clshore
Charter Member
Charter Member
Posts: 115
Joined: Tue Oct 21, 2003 11:45 am

Post by clshore »

Maybe others have had better experience with the Merge stage than I.

I implemented a full outer join with Merge (uggh, what a PITA for lots of columns).

It worked perfectly, but was slow, and metadata changes were awful.

I then used the two Xfm stage method, and got, roghly 5x better performance, and easy maintenance.

YMMV, but I seldom use the Merge stage any more.

Carter Shore
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Forget all this duck and goose chase. Just request your dba to create two temp tables, load them with your data and do a database full outer join.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
pradkumar
Charter Member
Charter Member
Posts: 393
Joined: Wed Oct 18, 2006 1:09 pm

Post by pradkumar »

Hi Carter

I tried outer join in merge, but was not sucesful.
I am using tables as the source. It is giving error as invalid file name
Pradeep Kumar
ShaneMuir
Premium Member
Premium Member
Posts: 508
Joined: Tue Jun 15, 2004 5:00 am
Location: London

Post by ShaneMuir »

pradkumar wrote:Hi Carter

I tried outer join in merge, but was not sucesful.
I am using tables as the source. It is giving error as invalid file name
Pretty sure you have to use sequential files for the Merge stage.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

ShaneMuir wrote:Pretty sure you have to use sequential files for the Merge stage.
Yes, you do. That's why it asks for Directory Paths and File Names for the two imputs - what made you think a table name would work there, pradkumar? :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply