jewei.toString()

Topic · 1 post

Databases

Database design decisions from production work, including primary keys, identifiers, and the trade-offs behind them.

Posts about Databases

  1. No. 001

    Database Primary Key: Integer vs UUID vs NanoID

    Integer, UUID, ULID, or NanoID as a primary key? My default: an auto-increment integer for joins plus a UUID or ULID for public URLs, with a comparison table.