Add pgx_ulid extension - Increase Our Performance With ULID Type #19499
-
This feature request is for the pgx_ulid extension. I really like using UUID for primary keys but we all know the drawback of performance. This extension will mitigate a significant percentage of that. There is a related feature request for pg_idkit but it seems that extension would not provide nearly the same level of benefit (generally). Please see below. From the README:There are several different postgres extensions for [ulid][], but all of them have feature gaps. A good extension should have:
Why should I use ulid over uuid?The main advantages are:
This extension is approximately 30% faster than both Footnotes |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
It might be possible to translate ulid-mssql to use a postgres dialect and get this running until the more performant extension is officially supported. |
Beta Was this translation helpful? Give feedback.
-
AWS Appsync has Ulid built in for DynamoDB, this will help the transition, i really want to try Supabase for new projects. As a case against UUID watch this 2 videos: |
Beta Was this translation helpful? Give feedback.
-
Please upvote the extension in our Postgres extensions thread here. It helps us prioritise better among all the extension requests we receive |
Beta Was this translation helpful? Give feedback.
Please upvote the extension in our Postgres extensions thread here. It helps us prioritise better among all the extension requests we receive