When upserts don't update but still write: Debugging Postgres performance at scale (opens in new tab)
Anthonin Bonnefoy At Datadog, we track the life cycle of millions of ephemeral hosts that report telemetry data to our platform. When a host stops emitting data, we eventually need to clean it up to avoid bloating our metadata store. To detect inactive hosts, the Datadog team th…