Software Architecture

Goodbye Random Inserts: UUIDv7 vs ULID vs UUIDv4 — Unique Identifiers, Performance, and Database Impact featured image

Goodbye Random Inserts: UUIDv7 vs ULID vs UUIDv4 — Unique Identifiers, Performance, and Database Impact

Random UUIDv4 primary keys quietly double your table size and wreck insert performance. How time-ordered IDs — ULID and the new UUIDv7 standard — fix fragmentation, cache locality, …