Better HN
topnewbestaskshowjobs
Log inSign up

sergeyprokhoren

38 karma · joined Jul 12, 2025 (1y ago) · 19 submissions

Submissions

comment 1y ago · link · parent

The PostgreSQL uuidv7() developers are leaning toward a different approach to solving timestamp leaks, similar to FHSS (https://en.wikipedia.org/wiki/Frequency-hopping_spread_spect...). This is currently possible manually using the parameter "shift" (https://postgrespro.ru/docs/postgresql/18/functions-uuid), but could be automated in the near future

comment 1y ago · link · parent

PostgreSQL Gains a Built-in UUIDv7 Generation Function for Primary Keys (many interesting details)

https://habr.com/en/news/950340/

3.

PostgreSQL Gains a Built-In UUIDv7 Generation Function for Primary Keys(habr.com ↗)

2 points · by sergeyprokhoren · 1y ago · discuss

comment 1y ago · link · parent

Offsetting the timestamp is much better. Use the uuidv7(INTERVAL shift) function in PostgreSQL 18

https://www.postgresql.org/docs/18/functions-uuid.html

in Percona Server for MySQL: https://docs.percona.com/percona-server/8.4/uuid-versions.ht...

comment 1y ago · link · parent

95% of the comments here have nothing to do with reality.

What May Surprise You About UUIDv7 https://medium.com/@sergeyprokhorenko777/what-may-surprise-y...

comment 1y ago · link · parent

If you shift the timestamp forward by 5 thousand years, it can hardly be called just a decrease in precision.

comment 1y ago · link · parent

Bad idea. In PostgreSQL 18 the optional parameter shift will shift the computed timestamp by the given interval

https://www.postgresql.org/docs/18/functions-uuid.html

comment 1y ago · link · parent

https://biggo.com/news/202509050143_6NF_File_Format_Debate

comment 1y ago · link · parent

What does looks "old school" mean? Do you want to wrap this format in JSON like JSON-LD? I don't mind

comment 1y ago · link · parent

See "DSL for Bitemporal Sixth Normal Form with UUIDv7" https://github.com/sergeyprokhorenko/6NF_DSL

11.

What May Surprise You About UUIDv7(medium.com ↗)

6 points · by sergeyprokhoren · 1y ago · discuss

12.

DSL for Bitemporal Sixth Normal Form with UUIDv7(github.com ↗)

4 points · by sergeyprokhoren · 1y ago · discuss

comment 1y ago · link · parent

This is a fairly common problem. Data is often transferred between information systems in denormalized form (tables with hundreds of columns - attributes). In the data warehouse, they are normalized (data duplication in tables is excluded by using references to reference tables) to make it easier to perform complex analytical queries to the data. Usually, they are normalized to 3NF and very rarely to 6NF, since there is still no convenient tool for 6NF (see my DSL: https://medium.com/@sergeyprokhorenko777/dsl-for-bitemporal-... ). And then the data is again denormalized in data marts to generate reports for external users. All these cycles of normalization - denormalization - normalization - denormalization are very expensive for IT departments. Therefore, I had an idea to transfer data between information systems directly in normalized form, so that nothing else would have to be normalized. The prototypes were the Anchor Modeling and (to a much lesser extent) Data Vault methodologies.

14.

6NF File Format(habr.com ↗)

76 points · by sergeyprokhoren · 1y ago · 27 comments