Difference Between Lookup and join 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
vinodn
Charter Member
Charter Member
Posts: 93
Joined: Tue Dec 13, 2005 11:00 am

Difference Between Lookup and join stage

Post by vinodn »

Hi,


I have a confusion, what is the main difference between Lookup and Join Stage.




Regards,
Vinodn
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

kcbland wrote:Section 3-3, middle of the page of the DataStage Enterprise Edition Parallel Job Developer's Guide. Read it for yourself.
shiva_reddys447
Participant
Posts: 21
Joined: Sat Sep 08, 2007 12:04 am
Location: bangalore

Post by shiva_reddys447 »

please find the below inforamtion which differentiates JOINS LOOK UP and MERGE stages.
may be bit tough to read(format)..
u can follow the below example for reading ...
model for joins is RDBMS,model for look up is RAM LU table and model for merge is Master-update




JOINS LOOK UP MERGE

MODEL RDBMS-Style relational , Source-in RAM LU table , Master-Update(s)
MEMORY light , heavy , light
# AND NAMES OF INPUT "2 or more:left,right" , "1 source ,N LU tables" , 1 Master N update(s)
MANDATORY INPUT SORT both inputs , no , all inputs
DUPLICATES IN PRIMARY INPUT ok(x-product) , ok , warning!
DUPLICATES IN SECONDARY INPUT ok(x-product) , warning! , ok when only N=1
OPTIONS ON UNMATCHED PRIMARY "keep(left outer),drop(inner)" ,[fail] continue|drop|reject , [keep]|drop
OPTIONS ON UNMATCHED SECONDARY "keep(right outer),drop (inner)" , none , capture in reject set(s)
OUTPUTS 1 , "1 out ,1 reject" , "1 out,n rejects"
CAPTURED IN REJECT SETS nothing , unmatched primary entries , unmatched secondary entries :)
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Has been discussed a lot in this community.
Search to get more detailed results.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

shiva_reddys447 wrote:please find the below inforamtion which differentiates JOINS LOOK UP and MERGE stages.
may be bit tough to read(format)..
Use Code tags for fixed-width format.

Were you aware that IBM owns copyright in the manuals?

Why are you advocating that U follow the example? U did not ask the question.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Re: Difference Between Lookup and join stage

Post by ray.wurlod »

vinodn wrote:what is the main difference between Lookup and Join Stage.
There are many differences. Who are we to decide which is the main one?

Is this an interview question?

They are different. That's enough. A spanner and a wrench are different, though they perform similar tasks. What the main difference between them? You choose the right tool for the job at hand.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
vinodn
Charter Member
Charter Member
Posts: 93
Joined: Tue Dec 13, 2005 11:00 am

Post by vinodn »

Hi all,


Thanx for the information.


Regards,
Vinodn
Post Reply