
- 5 min read
Prefixed IDs in Prisma and Postgres: what they cost and when they're worth it
A practical look at Stripe-style prefixed IDs in Prisma: how nanoid, ULID, UUIDv7 and cuid2 compare, what string primary keys cost Postgres, and how to migrate.
1 post on this topic.

A practical look at Stripe-style prefixed IDs in Prisma: how nanoid, ULID, UUIDv7 and cuid2 compare, what string primary keys cost Postgres, and how to migrate.