Hi frinds pls help me regarding this question

WHY usi is two amp operation in teradata?
THANKS IN ADVANCE....

Answers were Sorted based on User's Feedback



Hi frinds pls help me regarding this question WHY usi is two amp operation in teradata? THANKS I..

Answer / tdguy

When an USI is created, a subtable is generated and stored.
When that USI is used in the query,TD recognizes the USI.
TD will hash the SI and the hash map will point to the
subtable in one AMP. The subtable row will point the row-id
and the row is fetched from the second amp.

Is This Answer Correct ?    5 Yes 0 No

Hi frinds pls help me regarding this question WHY usi is two amp operation in teradata? THANKS I..

Answer / nitin bansal

Generally the Parsing Engine preapres a two amp plan for
USI, as in case of USI there will be a subtable which has
the hashed value of the USI and the ROW ID of the Primary
Index. So when you search using the USI first it will go to
the AMP which has the subtable and then using the ROW id
from the subtable it will go to the AMP where the actual
row resides.

In a case where the PI and USI value are same it can be a
one amp operation as the HASHED value of oth the PI and USI
will go to the same AMP.

Is This Answer Correct ?    2 Yes 0 No

Hi frinds pls help me regarding this question WHY usi is two amp operation in teradata? THANKS I..

Answer / gowthami

Thanks alot nitin for ur rly.

i would like share 1 interview question which was asked in
ibm.

Q)there are two rows like aa6588fhfhf,gru282vbvv.
Question is howcan we retrive the first number from two
rows.

thanks in advance

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Teradata Interview Questions

Explain teradata vs. Redshift?

0 Answers  


In which phase of the Active Data Warehouse evolution do you use data to determine what will happen?

2 Answers   IBM, Wipro,


Describe primary index in teradata. And what are the available primary index types?

0 Answers  


What are the different table types that are supported by teradata?

0 Answers  


Is multi insert ansi standard?

0 Answers  






How do you check the performance of Teradata Query and list down the basic Performance Tuning steps you use?

2 Answers   IBM,


Hello Frndz, I have a table named product as shown below: product_id product_name 1 AAA 1 BBB 1 CCC 2 PPP 2 QQQ 2 RRR Now my output should be: product_id product_name_1 product_name_2 product_name_3 1 AAA BBB CCC 2 PPP QQQ RRR

4 Answers   Cap Gemini,


Difference between Teradata V2R5 and Teradata V12 versions?

2 Answers   IBM,


While creating table my dba has fallback or no fallback in his ddl. What is that?

0 Answers  


What are the different methods ot loading a dimension table? A fact table etc?

0 Answers  


Can some one tell me the ressolution for the error. I was not able to answer this question in wipro interview. "The transaction exceeded the maximum number of rowhash locks allowed"

1 Answers   Wipro,


if collect stats but it show low confidence why?

0 Answers   IBM,


Categories