cm0002@suppo.fi to Programming@programming.dev · 6 months agoThe perils of UUID primary keys in SQLiteandersmurphy.comexternal-linkmessage-square20fedilinkarrow-up145
arrow-up145external-linkThe perils of UUID primary keys in SQLiteandersmurphy.comcm0002@suppo.fi to Programming@programming.dev · 6 months agomessage-square20fedilink
minus-squarecalcopiritus@lemmy.worldlinkfedilinkarrow-up3·6 months agoCan’t you just reserve X bits of the primary key to store a shard ID?
minus-square8uurg@lemmy.worldlinkfedilinkarrow-up5·6 months agoYou would be inventing some style of UUID. Include a timestamp in front, so that it is sortable and you have Snowflake.
Can’t you just reserve X bits of the primary key to store a shard ID?
You would be inventing some style of UUID. Include a timestamp in front, so that it is sortable and you have Snowflake.
deleted by creator