> The latter can he mitigated by using "ordered UUIDs": you can generate UUID1 (nominally time-based) such that the final value has a sequential "head" and a random "tail"
Specifically, in PostgreSQL such UUIDs can be generated using uuid_generate_v1mc()