10
submitted 2 months ago by yogthos@lemmy.ml to c/programming@lemmy.ml
top 1 comments
sorted by: hot top new old
[-] SmoothLiquidation@lemmy.world 3 points 2 months ago

This goes to show that using uuid4 is not a good thing for db tables, but that is what uuid7 was designed for. Also using ROWID or autonumber or whatever built in system the database is using is the best bet. Only use uuid7 if you need distributed inserts and you want the clients to be able to generate their own keys.

this post was submitted on 06 Jun 2026
10 points (100.0% liked)

General Programming Discussion

10003 readers
6 users here now

A general programming discussion community.

Rules:

  1. Be civil.
  2. Please start discussions that spark conversation

Other communities

Systems

Functional Programming

Also related

founded 7 years ago
MODERATORS