I have a table with emp id, emp name, dept id and sal where
dept id is NUSI. SEL * FROM EMP WHERE DEPTID = 100. Can any
one explain how it will fetch the record.
Answer Posted / ajain
Whenever NUSI is created, subtable will be created for each AMP's with the fields rowid and secondary index value.For NUSI ,subtable will be AMP local ie it will be having the records which are specific to the particular AMP.
When someone queries with the NUSI, all the AMPs will search in their own subtable for particular secondary index .For AMPs which found the particular record in their subtable ,it will retrieve the actual data from the AMP and PE will be consolidating the records and give to user
Since NUSI involves all AMP operation , PE will be deciding whether FULL table scan or ALL AMP operation will be more efficient .
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is node? How many nodes and amps used in your previous project?
If a Node is busy what are the steps you can take to avoid ?
What is the function of parser component in teradata?
Explain teradata architecture?
What are the frequently used data types in teradata?
What is meant by a dispatcher?
What is the purpose of joins in teradata and what are the available join types?
What are the uses of client software involved in teradata?
What are the joins in teradata?
Define views in teradata with syntax.
Highlight the advantages of PPI(Partition Primary Index).
How would you load a very large file in teradata in general? What utility would you use for it? Why?
Explain and compare pros and cons of snow flake schemas?
What are the newly developed features of Teradata?
Can we collect statistics on table level?