HackerTrans
TopNewTrendsCommentsPastAskShowJobs

sergeyprokhoren

no profile record

Submissions

[untitled]

1 points·by sergeyprokhoren·28일 전·0 comments

PostgreSQL Gains a Built-In UUIDv7 Generation Function for Primary Keys

habr.com
2 points·by sergeyprokhoren·10개월 전·0 comments

6NF File Format

habr.com
76 points·by sergeyprokhoren·10개월 전·27 comments

comments

sergeyprokhoren
·28일 전·discuss
[dead]
sergeyprokhoren
·9개월 전·discuss
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
sergeyprokhoren
·10개월 전·discuss
PostgreSQL Gains a Built-in UUIDv7 Generation Function for Primary Keys (many interesting details)

https://habr.com/en/news/950340/
sergeyprokhoren
·10개월 전·discuss
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...
sergeyprokhoren
·10개월 전·discuss
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...
sergeyprokhoren
·10개월 전·discuss
If you shift the timestamp forward by 5 thousand years, it can hardly be called just a decrease in precision.
sergeyprokhoren
·10개월 전·discuss
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
sergeyprokhoren
·10개월 전·discuss
https://biggo.com/news/202509050143_6NF_File_Format_Debate
sergeyprokhoren
·10개월 전·discuss
What does looks "old school" mean? Do you want to wrap this format in JSON like JSON-LD? I don't mind
sergeyprokhoren
·10개월 전·discuss
See "DSL for Bitemporal Sixth Normal Form with UUIDv7" https://github.com/sergeyprokhorenko/6NF_DSL
sergeyprokhoren
·10개월 전·discuss
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.