What is Difference b/w PI & PPI?how to implement PPI?

Answers were Sorted based on User's Feedback



What is Difference b/w PI & PPI?how to implement PPI?..

Answer / yogi

PI determines the distribution and retrieval of data for a
table in TD. If a primary index is not defined, either a PK
or Unique key or first column is assigned to be a PI. PI is
mandatory in TD.
PPI is used to store the data in partition. Along with the
row hash value, partition numbers are also stored.

While creating the table, PARTITION BY clause is used to
partition the data. Either RANGE_N or CASE_N can be used.

Is This Answer Correct ?    7 Yes 0 No

What is Difference b/w PI & PPI?how to implement PPI?..

Answer / tdguy

PI is mandatory in TD. Data distribution in TD depends on
PI. The PI more unique, more will be the performance. PPI
is generally used for range processing.TD stores data
within a block based on row id. But PPI stores the rows in
a data block by the value instead of the ROWID. Therefore,
range processing will be faster.
partition by statement is used along with create statement.
range for weeks or months or days can be mentioned by using
interval option.

Is This Answer Correct ?    3 Yes 0 No

What is Difference b/w PI & PPI?how to implement PPI?..

Answer / yuvaevergreen

PI is used for creating hash values and in turn, affects the
distribution of the rows across the amps. PPI is used to
partition the rows based on range of values. PPI is not
mandatory whereas PI is mandatory. PPI is generally used for
enhanced range processing. PPI can be used to avoid FTS,
thereby increasing the performance.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Teradata Interview Questions

why use references rather than pointers in the public api, particularly for arguments which are modified?

0 Answers  


Write a program to show the parser component used in teradata?

0 Answers  


Aborted in Phase 2 data acquistion completed in fastload?

2 Answers  


How do you create a table with an existing structure of another table with data and with no data?

1 Answers  


How many codd's rules are satisfied by teradata database?

0 Answers  






Does anyone got Latest TERADATA V12 Certification Dumps for the below? TE0-121 , TE0-122 , TE0-123 , TE0-124 , TE0-125 , TE0-126 TE0-127 , TE0-12Q

45 Answers  


How do you determine the number of sessions?

0 Answers  


What are the components used in smp and massively parallel processing (mpp) machines?

0 Answers  


Explain PDE.

0 Answers  


what is meant by Hot amp?

2 Answers   IBM, Satyam,


What is the command in bteq to check for session settings ?

0 Answers  


what is use of fload loading into set table?

2 Answers   IBM,


Categories