Description
As pointed out by several resources (for example this blog post), UUID version 4 are not particularly suitable as primary key identifiers, mainly because of their random nature which can cause issues with B-Tree database indexes.
As pointed out, a better solution is to use UUID version 7, time-based UUID bit layout sourced from the widely implemented and well known Unix Epoch timestamp source.