UUIDv7 vs UUIDv4 vs ULID: Which ID Strategy Wins for Database Performance?
This article benchmarks UUIDv4, UUIDv7, and ULID as primary keys in a 1-million-row H2 database, showing UUIDv7 and ULID insert 3.5× faster than UUIDv4 due to timestamp-ordered B-tree writes, while explaining monotonic generation, security trade-offs, and Java implementation with uuid-creator.