Why MultiLoad Utility supports only Non Unique Secondary
Index(NUSI) in the Target Table ?

Answers were Sorted based on User's Feedback



Why MultiLoad Utility supports only Non Unique Secondary Index(NUSI) in the Target Table ?..

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

Why MultiLoad Utility supports only Non Unique Secondary Index(NUSI) in the Target Table ?..

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

Why MultiLoad Utility supports only Non Unique Secondary Index(NUSI) in the Target Table ?..

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

Why MultiLoad Utility supports only Non Unique Secondary Index(NUSI) in the Target Table ?..

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

Why MultiLoad Utility supports only Non Unique Secondary Index(NUSI) in the Target Table ?..

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

Why MultiLoad Utility supports only Non Unique Secondary Index(NUSI) in the Target Table ?..

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

Why MultiLoad Utility supports only Non Unique Secondary Index(NUSI) in the Target Table ?..

Answer / krish

i also dnt know exactly..cal u help me more

Is This Answer Correct ?    0 Yes 0 No

Why MultiLoad Utility supports only Non Unique Secondary Index(NUSI) in the Target Table ?..

Answer / hari m

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

Why MultiLoad Utility supports only Non Unique Secondary Index(NUSI) in the Target Table ?..

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

Post New Answer

More Teradata Interview Questions

Define views in teradata with general syntax.

0 Answers  


How many macros we can create inside a macro

1 Answers   Wipro,


Aborted in Phase 2 data acquistion completed in fastload?

2 Answers  


During the Display time, how is the sequence generated by Teradata?

0 Answers  


Can you fastexport a field, which is primary key by putting equality on that key?

0 Answers  






Hi All, I have a table with 3 fields like id,mark1,mark2 and I would like to update a mark3 field that would calculate the max for each record (so the max value of the 2 fields) in Teradata ID Mark1 Mark2 Mark3 1 10 20 2 20 30 3 40 10 4 50 50 I Have to write a update statement Mark3 with max value of mark1,mark2 fields…like bellow ID Mark1 Mark2 Mark3 1 10 20 20 2 20 30 30 3 40 10 40 4 50 50 50 Please any one help me ....Thq

3 Answers   Wipro,


Explain the term 'primary key' related to relational database management system?

0 Answers  


why varchar takes 2 extra bytes?

4 Answers   IBM,


What are the various indexes in teradata? How to use them?

0 Answers  


Explain the meaning of Amp?

0 Answers  


I want to write one query How to get Matched records and unmatched records in table?

4 Answers   TCS,


Suppose i have data like 2009/12/31 555555534 ' ' Generally last 2 records are wrong format it is going to error table but i don't want load error table if any wrong format in Date column Pass "NULL" how can we do it fast load

4 Answers  


Categories