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

In a table can we use primary key in one column and in another column both unique and not null constrains.if yes how?

0 Answers  


What can be achieved by using the teradata rdbms?

0 Answers  


Explain teradata architecture in detail with a diagram.

0 Answers  


On which column will you take primary index???

4 Answers  


How do you set the session mode parameters in bteq?

0 Answers  






What is the purpose of joins in teradata and what are the available join types?

0 Answers  


What is dimensional modeling?

0 Answers  


Highlight a few of the advantages that ETL tools have over Teradata.

0 Answers  


How to run a query in teradata?

0 Answers  


What are the multiload utility limitations?

0 Answers  


which option is used to restart the fast load script?

2 Answers  


Please tell me a query to find the Primary key,Foreign key,primary Index,PPI for the Database?

5 Answers  


Categories