[Best reference implementation of uuidv7() in PostgreSQL 18](https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=78c5e141e9c13) **See also:** [What May Surprise You About UUIDv7](https://medium.com/@sergeyprokhorenko777/what-may-surprise-you-about-uuidv7-c05303f90af9) [UUID Benchmark War](https://ardentperf.com/2024/02/03/uuid-benchmark-war/) [Part 2: Benchmarking UUID Formats, Data Types and Engines](https://kolv.in/blog/post/part-2-benchmarking-uuid-formats-and-making-the-final-call/) [Postgres UUIDv7 + per-backend monotonicity](https://brandur.org/fragments/uuid-v7-monotonicity)