Asyncpg: UPDATE with UNNEST much slower than using FROM VALUES – Postgresql
I have the following table: create table foo (id serial primary key, ts date, value int); Populated with 10k records already. Now I'm trying to find a way to efficiently update multiple rows in one go, so I wrote this…