When upserts don't update but still write: Debugging Postgres performance at scale 11 points by amw-zero