u/Rcomianin r/node • Recommends
On “ID vs UUID vs Both in SQL DB?”
…is usually around 100 years.
another alternative would be to use a uuid as your primary key, but cluster by another field such as a creation timestamp that doesn't change. this way only your index gets fragmented, which is smaller and so a smaller issue than the main data, which might be a valid compromise in low volume, large record situations.
link to this video…