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
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 |
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 |
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 |
Why is the case expression used in teradata?
Difference between client character set and server character set? What is the use of these two?default character set in teradata?
What is the difference between union and union all in teradata?
what is use of PI(primary index) AND SI(secondary index)
Explain amp in teradata?
What are the various etl tools in the market?
What are the components used in smp and massively parallel processing (mpp) machines?
What tools would you use for that?
i have a table like sales....the field are Prodid Jan(jam month sales)Feb March 1 20 76 50 2 30 94 40 3 40 90 30 4 70 20 30 5 23 40 40 6 85 30 55 7 84 20 65 8 10 93 40 9 57 30 30 10 38 83 40 11 35 39 90 12 83 89 50 Now the Question is i want get the max sales of 12 products from the months.hint:for eg I WANT GET 89 for product12... Can any one help me
"pravalli nagireddy" record is there in address column but i want display only 'nagireddy' from the main string what is query for that pls tell me
Please tell me a query to find the Primary key,Foreign key,primary Index,PPI for the Database?
if a error occured in FASTLOAD is the fastload job stops?