Teradata No Primary Index Tables

What are No Primary Index tables ?

Starting with Teradata Release 13, tables can be defined without having a primary index.

As we all know, the primary index is the main idea behind an evenly data distribution on a Teradata system. By design, the primary index ensures that a Teradata system is unconditionally scalable.

Hence, the question is: what is the meaning of tables without a primary index and how are they implemented and fit into the hashing design of Teradata.

Initially, some words regarding how data is distributed in case of a no primary index table.

Basically, rows are distributed randomly across the AMPs.

As no hashing takes place, but rows have to be identified uniquely, the ROWID is generated differently from the ROWID of a regular table having a primary index:

As we do not have a hash value, Teradata uses the HASHBUCKET of the responsible AMP and adds a uniqueness value. As you can conclude, the bytes normally occupied by the hash value can now be used to increase the range for generating uniqueness values.

This is how No Primary Index Tables are created:

CREATE TABLE <TABLE>
(
PK INTEGER NOT NULL
) NO PRIMARY INDEX
;

Usage for No Primary Index Tables

As no primary index tables are distributed randomly across the AMPs, loading will become faster. Let’s take as an example, the phases of a FastLoad:

  1. Incoming rows are distributed in a round-robin fashion randomly across all AMPs
  2. The rows are hashed by the primary index value and forwarded to the responsible AMPs
  3. The responsible AMPs sort the received rows by ROWID

Now let’s consider a no primary index table. Basically, after distributing the rows randomly across the AMPs we are ready. No hashing and redistribution is needed. No sorting is needed. Further, as rows are assigned randomly to the AMPs, your data will always be distributed evenly across all AMPs and no skewing will occur.

As you can imagine, this makes loading much faster. Only the aquisition phase of the loading utilities is executed.

However much useful no primary index tables are in order to decrease the load times, don’t forget that without a primary index Teradata is limited to full tables scans if rows have to be retrieved.

You probably will recognize some similarities between no primary index tables and the Teradata columnar feature introduced with Teradata 14. Basically, tables which are using the new column partition feature of Teradata are equally no primary index tables.

Although offering great performance improvements for certain workload types, column stores on Teradata lack as well primary index access.

To some extend, this disadvantage of no primary index tables can be compensated with join indexes or secondary indexes.

Basically, no primary index tables are not designed for being production tables. Consider using them during the ETL-Process in case Teradata anyway has to do full table scans like SQL transformations carried out on each row etc.

There are some further restrictions if you decide to use no primary index tables. Here are the most important:

  • Only MULTISET tables can be created
  • No identity columns can be used
  • NoPi tables cannot be partitioned with a PPI
  • No statements with an update character allowed (UPDATE,MERGE INTO,UPSERT)
  • No Permanent Journal possible
  • Cannot be defined as Queue Tables

Guest Post 

35 comments

Skip to comment form

  1. Hi, I do think this is a great web site. I stumbledupon it 😉 I am going to revisit once again since I bookmarked it. Money and freedom is the greatest way to change, may you be rich and continue to help other people.

  2. An interesting discussion is worth comment. I do think that you should publish more about this subject, it may not be a taboo subject but generally people do not discuss such topics. To the next! Many thanks!!

  3. I enjoy what you guys are up too. This kind of clever work and coverage! Keep up the terrific works guys I’ve incorporated you guys to my personal blogroll.

  4. Ahaa, its fastidious conversation regarding this piece of writing here at this web site, I have read all that, so now me also commenting at this place.

  5. I really like what you guys tend to be up too. This sort of clever work and reporting! Keep up the amazing works guys I’ve added you guys to our blogroll.

  6. Heya i’m for the primary time here. I found this board and I find It really helpful & it helped me out much. I’m hoping to give one thing back and help others such as you aided me.

  7. Hola! I’ve been reading your weblog for a while now and finally got the courage to go ahead and give you a shout out from Dallas Texas! Just wanted to tell you keep up the good job!

  8. I am very happy to read this. This is the kind of manual that needs to be given and not the random misinformation that is at the other blogs. Appreciate your sharing this best doc.

  9. Ahaa, its fastidious conversation on the topic of this piece of writing here at this website, I have read all that, so now me also commenting here.

  10. High quality Traffic Leads: One of many main advantages of SEARCH ENGINE MARKETING is that it helps to steer quality site visitors to your website than the PPC.

  11. I rattling thankful to find this internet site on bing, just what I was looking for 😀 also bookmarked.

  12. Incredible! Thiss blog loiks exactly ljke my old one! It’s oon a completely different subjewct butt iit hass pretty mch the samne laayout annd design. Ecellent chokice off colors!

    • William3252 on January 7, 2026 at 8:14 am
    • Reply

    https://shorturl.fm/elMyO

  13. If you want to take much from this paragraph then you have to apply these strategies to your won webpage.

    • Martin2644 on December 31, 2025 at 8:57 pm
    • Reply

    https://shorturl.fm/Chb6F

  14. V88 club, fala a verdade, quem não gosta de um lugar VIP? Esse clube tem tudo pra te fazer sentir o sheik! Joguei e aprovei! Conheça o v88 club.

    • Declan1859 on December 25, 2025 at 10:38 pm
    • Reply

    https://shorturl.fm/O3viC

    • Jesse1565 on December 21, 2025 at 9:32 pm
    • Reply

    https://shorturl.fm/w8xPB

  15. Interesting read! Seeing platforms like ph taya download apk focus on data-driven insights is smart – transparency builds trust. Still, remember responsible gaming & always assess risks! Good article overall.

    • Brooke4566 on December 18, 2025 at 5:50 am
    • Reply

    https://shorturl.fm/e7ojE

  16. What’s up, gamers?! Gameiwin’s been my go-to lately. Quick payouts and lots of variety. Give it a go!: gameiwin

    • Sofia4741 on December 8, 2025 at 6:07 pm
    • Reply

    https://shorturl.fm/LWuD0

    • Vincent44 on December 6, 2025 at 8:50 pm
    • Reply

    https://shorturl.fm/KpmST

  17. Hey guys, quick heads-up! If you’re looking for an 88Vin link, 88vinlink here works for me. Just tested it. Happy gaming!

    • Randall2995 on December 2, 2025 at 5:03 pm
    • Reply

    https://shorturl.fm/24Fcb

    • Genesis2043 on November 30, 2025 at 11:07 am
    • Reply

    https://shorturl.fm/GWosv

    • John2731 on November 23, 2025 at 4:59 am
    • Reply

    https://shorturl.fm/KGUjX

    • Kristin3725 on November 13, 2025 at 8:17 pm
    • Reply

    https://shorturl.fm/iASIc

    • Edgar1889 on November 6, 2025 at 9:09 am
    • Reply

    https://shorturl.fm/Ph8MG

    • Declan2102 on November 3, 2025 at 4:43 am
    • Reply

    https://shorturl.fm/cUhc3

    • Jamie4669 on November 1, 2025 at 7:48 am
    • Reply

    https://shorturl.fm/dpr2N

    • Lilian1087 on October 31, 2025 at 3:59 pm
    • Reply

    https://shorturl.fm/IreD5

    • Gavin2332 on October 30, 2025 at 2:37 pm
    • Reply

    https://shorturl.fm/9nuCx

    • Ernest2382 on October 27, 2025 at 10:16 am
    • Reply

    https://shorturl.fm/5NalX

Leave a Reply to lamotrigine generic Cancel reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.