pg_uuidv7
vasco
pg_uuidv7 | vasco | |
---|---|---|
4 | 3 | |
242 | 21 | |
- | - | |
7.4 | 7.1 | |
about 2 months ago | about 1 month ago | |
C | C | |
Mozilla Public License 2.0 | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pg_uuidv7
-
Shrink UUIDs with PostgreSQL or Ruby
Unfortunately, as of PostgreSQL 16, UUIDv7 are not yet supported out of the box. For the time being, use an extension such as pg_uuidv7 or pg_idkit to generate UUIDv7 e.g. as default primary key when you CREATE new records.
-
UUIDv7 is coming in PostgreSQL 17
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.
- Are there trusted non-cryptographic hashing extensions for Postgresql?
-
UUIDs are obsolete in the age of Docker
Sometimes, I am amazed about what gets on the front page of ycombinator.
TLDR: Don't use UUID v1, since its entropy is based on the Mac address, if your cloud provider is generating the same mac addresses for all your containers.
To say not use UUID's it makes no sense. Use UUIDv7, use them in postgres https://github.com/fboulnois/pg_uuidv7 have fun :)
vasco
What are some alternatives?
pg_math - pg_math extension to support statistical distribution functions for PostgreSQL
hydra - Hydra: Column-oriented Postgres. Add scalable analytics to your project in minutes.
pg_similarity - set of functions and operators for executing similarity queries
pgsentinel - postgresql extension providing Active session history
pg_tle - Framework for building trusted language extensions for PostgreSQL
orioledb - OrioleDB β building a modern cloud-native storage engine (... and solving some PostgreSQL wicked problems) Β πΊπ¦
pg_auto_failover - Postgres extension and service for automated failover and high-availability