News for hackers. Stuff that matters.
Re:ULIDs and Primary Keys by kevincox on Thursday December 29, 2022 @07:14PM (#34179924)
A customer ID could well be a UUID. And sharding by year is similar to sharding by a UUID or ULID with a timestamp prefix.

But yes, in what dimension you shard will usually depend on the application.

There are no comments on this comment yet.