Get the latest tech news
PostgreSQL and UUID as Primary Key
PostgreSQL and UUID as primary key
These differences are not that important in small tables, but become an issue once you start storing hundreds of thousands or millions of rows. The results look a little random especially when comparing times for a table with regular text column and uuid v4: But if there's a chance you will have large dataset or big traffic - it is better to do it right from the beginning as changing primary keys can be quite a challenge.
Or read this on Hacker News