When upserts don’t update but still write: Debugging Postgres performance at scale | Datadog
When a high-volume upsert doubled disk writes, Datadog engineers traced the issue to Postgres WAL behavior and rewrote the query to eliminate hidden costs.
Datadog