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

What is the difference between correlated sub queries and inner queries?

4 Answers  


sel a.t1,b.t1 from emp a left outer join dept b ON a.id=b.id where b.deptno=10; sel a.t1,b.t1 from emp a left outer join dept b ON a.id=b.id and b.deptno=10; what is the difference on the above 2 queries?

3 Answers   CTS,


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

3 Answers   Wipro,


Why do you get spool space errors? How do trouble-shoot them?

0 Answers  


Explain and compare pros and cons of start schemas?

0 Answers  






Difference between Teradata V2R5 and Teradata V12 versions?

2 Answers   IBM,


What is the use of virtual processor connectivity in teradata?

0 Answers  


In the Primary Index, what is the score of AMPs that are actively involved?

0 Answers  


List out some of the primary characteristics of teradata.

0 Answers  


When tpump is used instead of multiload?

0 Answers  


Explain the term 'row' related to relational database management system?

0 Answers  


Can u load same data into multiple tables using multiload? How will be the loading process? Whether it will be serially or parallely?

2 Answers   IBM,


Categories