GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  Data Warehousing  >  DataStage
Go To First  |  Previous Question  |  Next Question 
 DataStage  |  Question 137 of 369    Print  
What is the exact difference betwwen Join,Merge and Lookup Stage??

  
Total Answers and Comments: 10 Last Update: May 14, 2008     Asked by: Phantom 
  
 Sponsored Links



 
 Best Rated Answer
Submitted by: prasad duvasi
 

The exact difference between Join,Merge and lookup is

The three stages differ mainly in the memory they use

DataStage doesn't know how large your data is, so cannot make an informed choice whether to combine data using a join stage or a lookup stage. Here's how to decide which to use:

if the reference datasets are big enough to cause trouble, use a join. A join does a high-speed sort on the driving and reference datasets. This can involve I/O if the data is big enough, but the I/O is all highly optimized and sequential. Once the sort is over the join processing is very fast and never involves paging or other I/O

Unlike Join stages and Lookup stages, the Merge stage allows you to specify several reject links as many as input links.



Above answer was rated as good by the following members:
manoharkolukula
January 24, 2006 15:17:04   #1  
prasad duvasi        

RE: What is the exact difference betwwen Join,Merge an...

The exact difference between Join,Merge and lookup is

The three stages differ mainly in the memory they use

DataStage doesn't know how large your data is, so cannot make an informed choice whether to combine data using a join stage or a lookup stage. Here's how to decide which to use:

if the reference datasets are big enough to cause trouble, use a join. A join does a high-speed sort on the driving and reference datasets. This can involve I/O if the data is big enough, but the I/O is all highly optimized and sequential. Once the sort is over the join processing is very fast and never involves paging or other I/O

Unlike Join stages and Lookup stages, the Merge stage allows you to specify several reject links as many as input links.


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
January 30, 2006 07:31:33   #2  
sekr Member Since: December 2005   Contribution: 42    

RE: What is the exact difference betwwen Join,Merge an...

the concept of merge and join is different in parallel edition as u will not find join component in server merge will survive this purpose.


 
Is this answer useful? Yes | No
April 14, 2006 07:55:00   #3  
srinivas        

RE: What is the exact difference betwwen Join,Merge an...
As of my knowledge join and merge both u used to join two files of same structure where lookup u mainly use it for to compare the prev data and the curr data.
 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
April 20, 2006 15:48:22   #4  
joinmerge        

RE: What is the exact difference betwwen Join,Merge an...
then how do we perform join in server jobs
 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
April 29, 2006 06:37:55   #5  
Madan        

RE: What is the exact difference betwwen Join,Merge an...
We can join 2 relational tables using Hash file only in server jobs. Merge stage is only for flat files
 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
May 23, 2006 16:14:24   #6  
uday        

RE: What is the exact difference betwwen Join,Merge an...

join  only max of two input datasets to single output,

but

merge can have more than two dataset inputs to single output.


 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
August 05, 2006 16:56:22   #7  
Ronaldo        

RE: What is the exact difference betwwen Join,Merge an...

Also remember that to use Merge stage the  key's field names  MUST be equal in both input files (master and updates).


 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
April 17, 2008 00:35:14   #8  
vasanthsolai Member Since: January 2008   Contribution: 11    

RE: What is the exact difference betwwen Join,Merge and Lookup Stage??
join is uaed to connect maximum two tables or datasets,
join does not have on reject link,
merge can have more than two tables or datasets,
merge have a reject link,merge have a master and update tables or datasets,

 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
May 05, 2008 06:29:47   #9  
madhava1238 Member Since: May 2008   Contribution: 8    

RE: What is the exact difference betwwen Join,Merge and Lookup Stage??

data selection is very easy in join
dataselection is difficult in merge
join does'nt support reject links
merge support reject links
join supports only 2 files or 2 databases
 merge supports
no.of inputs
so finally performance wise join is better than merge.

lookup is used just for comparison purpose


 
Is this answer useful? Yes | No
May 14, 2008 01:43:52   #10  
anil.Thodeti Member Since: May 2008   Contribution: 1    

RE: How to load dimension table values and Fact table values?
How to load dimension table values and Fact table values?how to identify the dimension tables and fact tables?

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links



 
Sponsored Links

 
Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape