---
title: "Discussion on \"Choosing a Primary Key: A Tour of the IDs Real Systems Actually Use\" | Hashnode"
description: "Discussion on \"Choosing a Primary Key: A Tour of the IDs Real Systems Actually Use\". Choosing a primary key according to the scale of the system and use case"
url: "https://hashnode.com/posts/choosing-a-primary-key-a-tour-of-the-ids-real-systems-actually-use/6aa8438a95d122ed08bbf130"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Choosing a Primary Key: A Tour of the IDs Real Systems Actually Use](https://yasir323.hashnode.dev/choosing-a-primary-key-a-tour-of-the-ids-real-systems-actually-use?utm_source=hashnode&utm_medium=feed)

Choosing a primary key according to the scale of the system and use case

Sep 14 · 12 min read · yasir323.hashnode.dev  
Read the article

-   [#scalability](https://hashnode.com/tag/scalability)
-   [#dbms](https://hashnode.com/tag/dbms)
-   [#databases](https://hashnode.com/tag/databases)
-   [#database-design](https://hashnode.com/tag/database-design)
-   [#system-design](https://hashnode.com/tag/system-design)
-   [#uuidv7](https://hashnode.com/tag/uuidv7)
-   [#uuid](https://hashnode.com/tag/uuid)
-   [#uuidv4](https://hashnode.com/tag/uuidv4)
-   [#postgresql](https://hashnode.com/tag/postgresql)
-   [#sql](https://hashnode.com/tag/sql)
-   [#nosql](https://hashnode.com/tag/nosql)

## Written by

[Yasir Jafri](https://hashnode.com/@yasir323)

@yasir323 · Delhi, India

  
[View profile](https://hashnode.com/@yasir323)

Senior Software Engineer | Event Driven Systems | Fintech | AI

Building payment-grade systems and AI that's actually tested — in public.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
