Why MultiLoad Utility supports only Non Unique Secondary
Index(NUSI) in the Target Table ?
Answers were Sorted based on User's Feedback
Answer / madhu
Like FastLoad, MultiLoad does not support Unique Secondary
Indexes (USIs). But unlike FastLoad, it does support the
use of Non-Unique Secondary Indexes (NUSIs) because the
index subtable row is on the same AMP as the data row.
MultiLoad uses every AMP independently and in parallel. If
two AMPs must communicate, they are not independent.
Therefore, a NUSI (same AMP) is fine, but a USI (different
AMP) is not.
Is This Answer Correct ? | 29 Yes | 6 No |
Answer / rajesh kumar s
MulitLoad has support for Non-Unique Secondary Indexes
(NUSIs) since NUSIs are AMP Local. They have subtable within
base table. It has no hash bucket to redirect to another
amp, everything points to their own amp (AMP Local)
If you go with USI, it has hash bucket, which might redirect
to another amp, more possibilites for full table scan.
Motive for avoiding Indexes(other thn NUSI): Avoid Full
table scan.
Regards
Rajesh Kumar S
Is This Answer Correct ? | 8 Yes | 0 No |
Answer / satya
whenever we define a SI an SI subtable is created in each
AMP.For USI they go for a hash distribution, and hence the
actual data row pointed by the USI subtable rows in one AMP
may not be in the same AMP as the subtable..so the AMPs
have to communicate, which is not supported by Multiload.
For NUSI the subtable will store references of only those
actual data rows who exist in the same AMP as the
subtable..they all point to the data in their own
AMP..hence AMPs dont need to communicate here.
Thus the AMPs work in parallal with NUSI and hence Mload
supports that.
Is This Answer Correct ? | 6 Yes | 1 No |
Answer / priya
Fload It self will not support Secondarys Indexs concept
becuase Fload stands for Fast load so.. it will not proceed
futhur in case the table is defined with Secondary indexes
we need to drop the Secondary index in case if we need to
proceed furthur.
So where is the concpets USI and Non-Unique secondaey
indexes in Fload.
Regards,
Priya K
Is This Answer Correct ? | 5 Yes | 1 No |
Answer / tdguy
When it comes to secondary indexes, subtables are build by
TD.
In USI, the subtables are build on all the amps and used,
when this index is used in the query. Since, this involves
communication of amps, mload does not support usi.
In NUSI, the subtables are build within the amps and refer
to the local data of the amp. Thus, NUSI is supported by
mload, since it is amp local.
Is This Answer Correct ? | 5 Yes | 1 No |
Answer / satish
When table is having NUSI, the sub table created by it will
be populated only by Hashing (not like Hash Re distribution
for USI), here redistribution of the records will not be
done,which will take more time generally,
As Fastload and Multiload are intended to Load the data at
fast they have taken out the USI, support so that the target
tables will be loaded very faster,
if we need we can create the SI after loading
---
If you have better ANS please Share with us
Is This Answer Correct ? | 3 Yes | 3 No |
WHAT EVER WE DISCUSSED ABOVE IS OK WITH THE MLOAD.
EVEN I AGREE WITH MLOAD, FLOAD HAS LIMITIATON AS USI, JI,
TRIGGERS MULITIPLE AMP OPERATIONS.
I have a quick question why FLOAD doesn't supports NUSI? As
posted above if Nusi is operations are within in same amp.
Please explain in this regard.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / hardeep
Hi Madhu
Thanks for ur response but could u pls explain ur answer in more detail, if possible with an example?
Thanks again.
Is This Answer Correct ? | 1 Yes | 5 No |
In general, how do you optimze any sql in teradata?
what is the default character set in teradata,,?
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.
What EXPLAIN does in Teradata, what is High confidence, Low confidence and No confidence.. And How we improve the query performance .
What is meant by a dispatcher?
What are two examples of an OLTP environment?
what are the default access rights in the teradata?
Why do you get spool space errors? How do trouble-shoot them?
What is oltp?
What happens in a conflict? How do you handle that?
What are some commonly used bteq scripts?
Can any one plz provide the teradata interview questions?