Tested the UUIDv7 generator for postgres as below. With regards to performance , It's still way behind the sequence. [...]explain analyze select count(nextval('myseq') ) from generate_series(1,100000);Execution Time: 59.687 msexplain analyze select count(gen_random_uuid()) from generate_series(1,100'000);Execution Time: 904.868 msexplain analyze select count(uuid_generate_v7()) from generate_series(1,100000);Execution Time: 1711.187 ms
Enabling Performance tests
generate 16'000'000 guids in 0.980s (user: 0.984s) 12 MB
generate 16'000'000 guids in parallel on 4 CPUs in 0.309s (user: 1.188s) 12 MB
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных