Tag: databases

Questions Related to databases

Primary Index is used for

  1. Access the rows

  2. Distribution of the rows

  3. Both a and b

  4. Only for distribution of rows to particular AMPs


Correct Option: C
  1. USI

  2. NUSI

  3. Both a and b

  4. Neither a nor b


Correct Option: C
  1. At a cost of row redistribution

  2. At a cost of table recreation

  3. When the table is empty

  4. None of the above


Correct Option: A

Reading the rows using Non-Unique Secondary index is

  1. One or Two AMP operation

  2. All AMP operation

  3. Many AMP operation

  4. Full table scan


Correct Option: B
  1. Hash Value

  2. Partition Number

  3. First column of the table

  4. Both a and b


Correct Option: B

Teradata table will have ------ Primary Index

  1. Many

  2. Two

  3. One

  4. 64


Correct Option: C
  1. One or Two AMP operation depends on the base row location

  2. Always two AMP operation irrespective of the base row location

  3. Many AMP operation

  4. All AMP operation


Correct Option: A