Better HN
topnewbestaskshowjobs
Log inSign up

opservo

-1 karma · joined Oct 14, 2026 (1mo ago) · 2 submissions

Shanky Gupta, founder of Opservo (https://getopservo.com). We run ~40 Linux servers for a portfolio of companies and built Opservo to explain what's wrong with them in plain English. Contact: hello@getopservo.com
Submissions

comment 1mo ago · link · parent

Worth noting the default is recovery_prefetch = try (since PG15 when it was added), so anyone on 15+ is running this without having chosen it.

The part that makes this nasty on cloud disks is that it's latent. On a burstable volume the standby has headroom most of the time, so the amplified reads are invisible until the one day a write burst lines up with a network blip and the volume is already at its IOPS ceiling. Nothing in normal monitoring looks wrong beforehand.

Things I'd check if you can't flip it off immediately: - pg_stat_recovery_prefetch on the standby to see how much prefetching is actually happening vs being skipped - replay_lag in pg_stat_replication, alerted on, not just graphed - standby read IOPS against the provisioned limit during your biggest batch jobs - if you have a single synchronous standby, that's the real outage multiplier here; ANY 1 across two standbys (as the author suggests) or accepting async for that tier changes "slow replica" back into "slow replica" instead of "primary stops taking writes"