UUIDv7 is coming in PostgreSQL 17

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • nanoid

    A tiny (124 bytes), secure, URL-friendly, unique string ID generator for JavaScript

  • No thread about UUID is complete without a plug for NanoID! https://github.com/ai/nanoid/blob/main/README.md

  • pg_idkit

    Postgres extension for generating UUIDs

  • If you like this (I do very much), you might also like pg_idkit[0] which is a little extension with a bunch of other kinds of IDs that you can generate inside PG, thanks to the seriously awesome pgrx[1] and Rust.

    [0]: https://github.com/VADOSWARE/pg_idkit

    [1]: https://github.com/pgcentralfoundation/pgrx

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • pgrx

    Build Postgres Extensions with Rust!

  • If you like this (I do very much), you might also like pg_idkit[0] which is a little extension with a bunch of other kinds of IDs that you can generate inside PG, thanks to the seriously awesome pgrx[1] and Rust.

    [0]: https://github.com/VADOSWARE/pg_idkit

    [1]: https://github.com/pgcentralfoundation/pgrx

  • discussion

  • > Integers don't scale because you need a central server to keep track of the next integer in the sequence.

    They most assuredly do scale. [0]

    Also, Slack is built on MySQL + Vitess [1], the same system behind PlanetScale, which internally uses integer IDs [2].

    [0]: https://www.enterprisedb.com/docs/pgd/latest/sequences/#glob...

    [1]: https://slack.engineering/scaling-datastores-at-slack-with-v...

    [2]: https://github.com/planetscale/discussion/discussions/366

  • pg_uuidv7

    A tiny Postgres extension to create version 7 UUIDs

  • https://github.com/fboulnois/pg_uuidv7

    It's slightly different from recommendations by draft RFC version (there's no counter), but fully within spec requirements. From practical point there's no difference at all.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts