zenn.dev/loglass/articles/c2db7e85702571

archives

This URL has 2 public saves. The first save was Apr 1, 2026, 10:39 PM and the latest save was Apr 1, 2026, 11:39 PM.

View recent saves on this domain

Latest saved version

主キーはもう「UUIDv7」一択なのか? 〜 ID技術の歴史的変遷と現時点の最適解 〜

This is the newest public snapshot for this URL and the best place to start reviewing the page.

Apr 1, 2026, 11:39 PM

Source URL

https://zenn.dev/loglass/articles/c2db7e85702571

About this page

This page discusses database primary key ID technologies, tracing their historical evolution and presenting current best practices. It compares various ID schemes including AUTO_INCREMENT, UUIDv4, Snowflake, ULID, CUID2, and UUIDv7 across criteria such as time sorting, distributed generation, guessing resistance, and database compatibility. The article explains limitations of sequential IDs—specifically single points of failure in sharding and security risks from predictability. UUIDv7 emerges as the modern optimal solution, offering time sorting, distributed generation, guessing resistance, and database compatibility. The recommended approach is adopting UUIDv7 for internal databases while using Base62 encoding or NanoID for externally exposed identifiers.

Total saves

2

Latest save

Apr 1, 2026, 11:39 PM

First save

Apr 1, 2026, 10:39 PM

Saved versions

zenn.dev/loglass/articles/c2db7e85702571 web archives are listed here. You can still review the saved screenshot and HTML even if the original page disappears.