3 ms·
> Postgres can’t update a JSON object on disk, it just rewrites the entire blob. Postgres does this for _all_ row updates; it must, for transaction isolation t
by syncsynchalt 2y ago
> Postgres can’t update a JSON object on disk, it just rewrites the entire blob.
Postgres does this for _all_ row updates; it must, for transaction isolation to work.
- hashhar 2y agoI'm not sure, there's also HOT-updates (heap-only tuples). It's an optimization where data in modified in place if none of the modified columns are part of an index and maybe other conditions but I don't remember it all too well.
- syncsynchalt 2y agoDid not know this; thank you!