logoalt Hacker News

orthoxeroxyesterday at 11:03 AM1 replyview on HN

It's not just Postgres or even OLTP. For example, if you have an Iceberg table with SCD2 records, you need to regularly locate and update existing records. The more recent a record is, the more likely it is to be updated.

If you use UUIDv7, you can partition your table by the key prefix. Then the bulk of your data can be efficiently skipped when applying updates.


Replies

andatkitoday at 12:55 AM

Good addition!