UUIDv7
See every discussion that mentions UUIDv7
Brand Details
Type: Product
Description: UUIDv7 is a 128-bit universally unique identifier (UUID) that, unlike its predecessor UUIDv4, is time-sortable with millisecond precision. This time-sorting capability is achieved by encoding a Unix timestamp within the UUID itself. This makes UUIDv7 particularly beneficial as a primary key in databases, especially distributed ones, because it improves temporal locality and reduces the performance issues associated with the randomness of UUIDv4. The improved performance stems from the fact that data inserted around the same time will be clustered together in database indexes, leading to better cache hit ratios.
Website: https://uuid7.com
Mention Analytics
Total Mentions: 7
Subreddit Mentions:
Positive Mentions: 7
Negative Mentions: 0
Sign up to filter, search, and track the sentiment of all brand mentions for UUIDv7 over time.
💬 32 comments
⬆︎ 139 upvotes
The post and comments discuss the implementation of UUIDv7.
Found in /r/PostgreSQL/Apr 7, 2025
What UUID version do you recommend ?
💬 53 comments
⬆︎ 44 upvotes
Multiple users recommended UUIDv7.
Found in /r/PostgreSQL/Nov 18, 2024
PostgreSQL extension for ULID
💬 3 comments
⬆︎ 15 upvotes
Mentioned as an alternative to the proposed ULID extension.
Found in /r/PostgreSQL/Sep 23, 2024
Performance and security with Primary Keys
💬 38 comments
⬆︎ 5 upvotes
UUIDv7 is presented as a faster and more space-efficient alternative to traditional UUIDs and bigint in Postgres.
Found in /r/SQL/Sep 21, 2024
UUIDv7 vs Surrogate Keys
💬 31 comments
⬆︎ 11 upvotes
Many commenters recommend UUIDv7 as a primary key, highlighting its performance and other benefits over alternatives like surrogate keys.
Found in /r/PostgreSQL/Apr 10, 2024
Choosing a Postgres Primary Key
💬 6 comments
⬆︎ 36 upvotes
UUIDv7 is recommended in the discussion as a primary key for Postgres
Found in /r/PostgreSQL/Jun 22, 2023
Unexpected downsides of UUID keys in PostgreSQL
💬 8 comments
⬆︎ 37 upvotes
UUIDv7 is mentioned as a sortable alternative to UUIDs in PostgreSQL, suggesting it is a viable option.
Found in /r/PostgreSQL/Subscribe to our newsletter!
Stay up to date on how the latest changes in AI might impact your marketing plan.