Advantage of Partition Primary Index –
- Partitioned Primary Index is one of the unique features of Teradata, which is used for distribution of rows based on different partitions so that they can be retrieved much faster than any other conventional approach.
- Maximum partitions allowed by Teradata – 65,535
- It also reduces the overhead of scanning the complete table (or FTS) thus improving performance.
- In PPI tables row is hashed normally on the basis of its PI, but actual storage of row in AMP will take place only in its respective partition. It means rows are sorted first on the basis of there partition column and then inside that partition they are sorted by there row hash .
- Usually PPI’s are defined on a table in order to increase query efficiency by avoiding full table scans without the overhead and maintenance costs of secondary indexes.
- Deletes on the PPI table is much faster.
- For range based queries we can effectively remove SI and use PPI, thus saving overhead of SI subtable.
Disadvantage of Partition Primary Index –
- PPI rows are 2 bytes are longer so it will use more PERM space.
- In case we have defined SI on PPI table then as usual size of SI subtable will also increase by 2 bytes for each referencing rowid
- A PI access can be degraded if the partition column is not part of the PI. For e.g. if query specifying a PI value but no value for the PPI column must look in each partition for that table, hence loosing the advantage of using PI in where clause.
- When we are doing joins to non-partitioned tables with the PPI table then that join may be degraded. If one of the tables is partitioned and other one is non-partitioned then sliding window merger join will take place.
- The PI can’t be defined UNIQUE when the portioning columns is not the part of PI.
To know more about PPI please go the link below –



46 comments
Skip to comment form
Everyone loves it when folks get together and share thoughts. Great blog, keep it up!
We are a group of volunteers and starting a new scheme in our community. Your site provided us with valuable information to work on. You have done a formidable job and our entire community will be thankful to you.
I’ll right away clutch your rss as I can not to find your e-mail subscription link or newsletter service. Do you’ve any? Please let me recognise so that I may subscribe. Thanks.
Vaping 24 combines high-quality devices and e-liquids with smooth draws, rich aroma, and vibrant taste, providing a satisfying, convenient, and enjoyable vaping experience every day.
You made some good points there. I looked on the web for additional information about the issue and found most people will go along with your views on this web site.
I’ll immediately clutch your rss as I can’t in finding your email subscription hyperlink or newsletter service. Do you’ve any? Kindly let me recognise in order that I may subscribe. Thanks.
I found the information layout very user‑friendly, which made exploring the product surprisingly comfortable. The overview of side effects of cialis was presented in a calm, neutral tone that helped me feel well‑oriented. Everything came together nicely and left me satisfied with the clarity and transparency.
My knowledge on St. Patrick’s Day is NIL and therefore i did not participate on this week’s Hubmob but it normally good to study.
I am sure this article has touched all the internet users, its really really fastidious paragraph on building up new weblog.
I am sure this article has touched all the internet viewers, its really really fastidious article on building up new web site.
Incredible! This blog looks just like my old one! It’s on a totally different topic but it has pretty much the same layout and design. Great choice of colors!
It’s very simple to find out any matter on net as compared to books, as I found this post at this site.
Everything is very open with a precise description of the issues. It was truly informative. Your website is extremely helpful. Thanks for sharing!
https://shorturl.fm/0tTOJ
Ahaa, its nice dialogue concerning this paragraph at this place at this weblog, I have read all that, so now me also commenting at this place.
Multi Bet seems like a solid choice for combo bets. I’ll check it out, maybe I will increase my payout with the risk. Let’s win big! multi bet
https://shorturl.fm/17Huy
Spinplusph is my go-to for a quick spin or two. They got a bunch of different games to try. Solid payouts sometimes too! Vibe check this: spinplusph
https://shorturl.fm/FOoDo
Just signed up for ph444vip and getting lots of bonuses. Their VIP program is something else. So many daily/ weekly bonuses to claim. Visit official website here: ph444vip
vow5lx
https://shorturl.fm/JLSac
https://shorturl.fm/IbViC
https://shorturl.fm/utIcL
https://shorturl.fm/J0X0Q
https://shorturl.fm/gt3BM
https://shorturl.fm/vQq4B
https://shorturl.fm/RrqMq
https://shorturl.fm/RIiFC
https://shorturl.fm/pwPAK
https://shorturl.fm/dwNlI
120r89
https://shorturl.fm/Um5TX
https://shorturl.fm/eOjMH
https://shorturl.fm/hNAJ3
https://shorturl.fm/Vz4OX
https://shorturl.fm/nS3dv
https://shorturl.fm/mnpny
https://shorturl.fm/EoSRI
Hi Admin,
Can you please explain how actually the the sort works for table’s having PPI for below case .
when there is already data in table and you do an insert to the table.
Happy learning
Can we create PPI even after the table is populated with records? or only at the time of table creation?
only at the time of table creation..because row are distribute base on pi and create rowid then we mention partion means again row are automatically arrenge with user define partion..hope you will understand.
Hi Admin,
Can u explain what are the advantages of teradata over oracle.
for waht purpose we can use teradta instead of oracle ?
why teradata was developed ?
canu expalin PPi indexes with examples
[ if query specifying a PI value but no value for the PPI column must look in each partition for that table, hence loosing the advantage of using PI in where clause. ] ==> Could you please explain this by example ?
Hi Admin,
Can you explain “Sliding window merger join”?
I have one doubt PPI by range can be done on date only on what other columns PPI by range can be done?
Can you explain PPI by case with one example?