if we take 2 tables(like emp and dept), we use join stage and
how to improve the performance?

Answers were Sorted based on User's Feedback



if we take 2 tables(like emp and dept), we use join stage and how to improve the performance? ..

Answer / kiran

when ever join 2 tables based on key columns if the key
column is numeric ,set modulus,if the key column is non
numeric set hash partition technique.and compare to look up
join give better performance coz join has sort operation
by default.

Is This Answer Correct ?    11 Yes 2 No

if we take 2 tables(like emp and dept), we use join stage and how to improve the performance? ..

Answer / ashok

above answer has one mistake
i.e join doesn't has sort operation bydefault we explicitly
specify

Is This Answer Correct ?    9 Yes 3 No

if we take 2 tables(like emp and dept), we use join stage and how to improve the performance? ..

Answer / poorna chandra

Hi this is Poorna ,

We can Improve the performance on join stage by doing
pre sorting for both left and right data based on
key .Then we can Improve the performance in join stage .

Plz correct me if any mistake in thinking .

Is This Answer Correct ?    6 Yes 1 No

if we take 2 tables(like emp and dept), we use join stage and how to improve the performance? ..

Answer / rajeshchunduri

in emp and dept tables key column is deptno so it is key
based and datatype for key column is int . At this time we
change partion tech from hash to modulus.



chunduri

Is This Answer Correct ?    1 Yes 1 No

if we take 2 tables(like emp and dept), we use join stage and how to improve the performance? ..

Answer / professional

Hi,
For the above query to improve the performance based on key columns in emp and dept joins by default sort in datastage for better performance if you have already a sorted data just go for environmental variables and do the operation #APT_Not_SORTDATA option then performance increase automatically...

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Stage Interview Questions

what is datastage job Monitoring

6 Answers   CTS,


What are the difference types of stages?

0 Answers  


How do you get log info into a file?

1 Answers  


source file is having 5 records while moving into target it want to be 10 records

4 Answers   IBM,


What is aggtorec restructure operator?

0 Answers  






How to enter a log in auditing table whenever a job get finished?

2 Answers   L&T,


what is the exact difference between dataset and fileset in datastage?

5 Answers   TCS,


Can we use Round Robin for aggregator?is there any benefit underlying?

3 Answers   TCS,


What is a delta record? How you will read it?

0 Answers   EDS,


how can we send even and odd records from a sequential file to two different targets

10 Answers   IBM, iGate, TCS,


file having these input and we have to get 3 output using same job Input 1 1 1 2 3 4 4 4 o/p1 o/p2 o/p3 1 1 2 2 1 3 3 1 4 4 4

0 Answers  


what is time dimension? and how to populate time demension

2 Answers   TCS,


Categories