Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w06B3-001cDi-24 for pgsql-performance@arkaria.postgresql.org; Tue, 10 Mar 2026 23:07:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w06B2-006Zqv-08 for pgsql-performance@arkaria.postgresql.org; Tue, 10 Mar 2026 23:07:48 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w06B1-006Zqm-1s for pgsql-performance@lists.postgresql.org; Tue, 10 Mar 2026 23:07:48 +0000 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1w06B0-00000001WN3-0ndK for pgsql-performance@lists.postgresql.org; Tue, 10 Mar 2026 23:07:47 +0000 Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-5a12fbbd9d2so6533545e87.3 for ; Tue, 10 Mar 2026 16:07:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1773184063; cv=none; d=google.com; s=arc-20240605; b=VSkng6CgECxv5w7EDpQLdh0/CyRbD5/VpOWWmiJcnVd/fd57WmHmg14T4FlAGu/bS+ BXjw6yqWy+IE06s92dfHTpH4zn2aldZcJIyRLp9IyM+nX9dJMIhbinvi9BeVoe2l/+q7 3u/GTV5R+5ih0/9hMXh2W+OFlGbq2LuDzbSgieMuXP4+vxpZkU41MnVPkkPBOpDPpW6e iOFm9p3unFCMOlov4dXRf0fTSdXgvrByDOS6mndbgbBPpAltrAH2PD0RgH+ED/lM8jS/ yg5cCfEKji1ot93mhjXGh1KKIievlTi/Gwvgap6gWHivcIIRQTemVflXY7pllr77Uyjz x8Vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=WghpJGGfaS2ktrDZF7fV/nsTyMZ9pjlRW3/jEpd3or4=; fh=fDpVIdBtaiJzmfW2m9pcaIADfBw91UXdxH4hwSoDi3E=; b=hlyas6k0wGWa8Sz8AZ9PifiPg3BYM4ReCJ5J/KaSn+Vmj4yyG27DqdMsLZyeXAZ8DC TrziHRmOUz9DxnU4kbzmyrAl8tJS2g+ftewHwf7C3W9iCLwVNQW8ZLNzZUScSz6wjR9T r2eSyWq7wGOqLsSte4NO/CGg+/lytW+tpIVG+mdvbBzFvfyQAsdoGGA8/8gxV+cppf4z eT5YWeq69EfUFI7TFLbFOZ6ckhID/JtLjmfWgEifw0UdEDE3sozsDY5cigmBjEoOnoGf guPyZ9og0QIFlEV6bll0uF7/YbrdTGPjIHmSuh+rzspUQizrwosKNV8B681wvlLQkHDp AZJA==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773184063; x=1773788863; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=WghpJGGfaS2ktrDZF7fV/nsTyMZ9pjlRW3/jEpd3or4=; b=jpUtet5wBAdTT91/dyTsP+yAqQetNh2msQe/qlXZJlQ4dzhU4EbMfwiN9LlkkpbFvn lDDqZVb7KdcvXxIVIGorJlU8pS7hn+VjnKp4IWJyIqeZxDOcaEZG23NaNEhDCp4IWvE5 jeCWBoEvqSmzPSgsCM7egQP45tEpsbjc5i73cumkPMkMJFe0uo0TO4ouiX+By4PkU763 zJB6RIwBtiezcKjKV3g+pwPTEwXxy53tVyJE2OUc6X9KfC1MIYjDzUcdT0Uflmd7deOz po3qnkwxCC77KIQQNm9doiLS4R9QXI9GzVeQ4RcbObipwqt4xDdKIdNZoGAddiKl/XxM GI8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773184063; x=1773788863; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=WghpJGGfaS2ktrDZF7fV/nsTyMZ9pjlRW3/jEpd3or4=; b=mVG7aT/0glSy7KuSb8U3+Xsw6d+KyoNUiWOMKz+dls50/U5FvHdfer6VE2bk37BxHY owGDv5JwMDPostfWgp6uNu6ol5Bsd1UIpvM8nhejQeyB108TPt0kbrQ8x2/nurXwANND XblGrNnM6hnVo4riQmeoPGNqQID0IbJnSCpxc26y12yYKaVAeouJkybDm7xuSObhS0jz jwO32SYfPbeBA4IZbEQX0VzqQ5WmBSpodmOU2/Zkq9h+4RSm/kVSJqGEjH4SBmKzyuvI tSrNkfgkhZ8cnh7DosvmkWypfNpOeEiOcvq4M51QvQduqSs1DpRxSKIA3ArFuVA20zDO ZR5Q== X-Gm-Message-State: AOJu0YzCbxLRUJyGpVQh4P3n76OLsWZn7oSOXXvrqZQwDgEXXI5Q7ZTw UGuy3d0aWTmYQ1oMm0W2fH8jngRub4QVwUFPC1lR1AxB3vwbL6kVTE3bD01P+4H5ISnS1HIAy10 uWPkWksRpbEv72ozm4Vdo3XWoHD2iOnzVt31f X-Gm-Gg: ATEYQzyvWYdCBDAtYw5WZ77SkZfB9Wp4cGsinlqtAPYqxQmWv+61IPbfcZwersNo2zs dISv0JWfSVSpkey1mzxW4dmqf7CfDWpiNt5aW+n7DY+62hWY1gByl6cywpNzxtlV1V4sPh2vJkO WmqskqnWho0mwvNuUJZz8vwnrLz8uqb6ggsou+B4eg4zs6heFyWdro8DasVVCPATEMLulNYb4IQ wQcXRxPOrnKrqM1PonyLOJYju8IRPAHPevHZcqkxlnNNugOW8I+fbMQSD/eFyaFjwVKFmXwOgeY NqBTqOpmtgb5rQPkxjP0qI/I7xtsx3jVJ6mxKPEUcVjsgsPxMaxQ1/I1/zuYn9WLUEsHrhNQ4Q= = X-Received: by 2002:a2e:a104:0:b0:38a:5d10:2a30 with SMTP id 38308e7fff4ca-38a67dc18d4mr1719311fa.3.1773184062805; Tue, 10 Mar 2026 16:07:42 -0700 (PDT) MIME-Version: 1.0 References: <7601f762-3449-4e66-9634-6f40afdc9b8f@exa.co.za> In-Reply-To: <7601f762-3449-4e66-9634-6f40afdc9b8f@exa.co.za> From: Merlin Moncure Date: Tue, 10 Mar 2026 17:07:30 -0600 X-Gm-Features: AaiRm538__ZbvdpPEktZkgesWzqcM12d7hX-tLJFbWNIFldjSJXTJsRDvt3qMqc Message-ID: Subject: Re: Postgres IO sweet spot To: Riaan Stander Cc: pgsql-performance@lists.postgresql.org Content-Type: multipart/alternative; boundary="0000000000002f5a42064cb3960d" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000002f5a42064cb3960d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Feb 17, 2026 at 4:42=E2=80=AFPM Riaan Stander = wrote: > That's an expensive way to provide some HA. What's the business > requirement? How does that tie into Postgres? Might be able to do it in > other ways. > > We used to run a SAN shared between our host servers, but this was > replaced with Storage Spaces. I think they don't trust Postgres native HA > capabilities and want some hardware guarantee. > > Yikes! Yes, SSD would be a big win. It's orders of magnitude faster, and > just removes so many problems. > > I assume it will help, but I fear however that the overhead with a 3 way > mirror is not going to be solved with just adding SSD. I'm trying to get > them to rather deploy direct attached NVME/SSD to each Host and then use = PG > HA from there. > > Sorry, I have no numbers to provide you there, but I cannot imagine any > amount of tuning is going to be as big a win as going to SSD. > > It does take a lot of convincing and arguing though, so concrete number > help get the point across. > > Thanks for the response > Spinning disks+cache was the most common configuration before SSD came along. Burst performance is great but if you overwhelm the cache, write performance can fall off a cliff. This sounds like exactly what is happening to you; moving backups off just bought you some time. Direct attached SSD will completely smoke your current setup. > I think they don't trust Postgres native HA capabilities and want some hardware guarantee. What is this, 2005? Properly configured HS/SR setups are incredibly robust and are the default configuration for amazon RDS and many, many other platforms. Reading between the lines here, it sounds like your storage team bought overpriced garbage and is refusing to admit it's not getting the job done. Postgres failover gets tested routinely across a vast array of systems, how many times has your exact configuration been tested? Is your storage shared with other systems? Do you have any pgbench numbers for reference? What are your commit rates? (see xact_commit in pg_stat_database, tracked over time) merlin --0000000000002f5a42064cb3960d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Feb 17, 2026 at 4:42=E2=80=AFPM Riaan Stander= <rstander@exa.co.za> wrote= :
=20 =20 =20
That's an expensive way to provide some HA. What's t= he business requirement? How does that tie into Postgres? Might be able to do it in other ways.
We used to run a SAN shared between our host servers, but this was replaced with Storage Spaces. I think they don't trust Postgres native HA capabilities and want some hardware guarantee.

Yikes! Yes, SSD would be a big win. It's orders of magnitude faster, and just removes so many problems.
I assume it will help, but I fear however that the overhead with a 3 way mirror is not going to be solved with just adding SSD. I'm trying to get them to rather deploy direct attached NVME/SSD to each Host and then use PG HA from there.

Sorry, I have no numbers to provide you there, but I cannot imagine any amount of tuning is going to be as big a win as going to SSD.
It does take a lot of convincing and arguing though, so concrete number help get the point across.

Thanks for the response

Spinn= ing disks+cache=C2=A0 was the most common configuration before SSD came alo= ng.=C2=A0 Burst performance is great but if you overwhelm the cache, write = performance can fall off a cliff.=C2=A0 This sounds like exactly what is ha= ppening to you; moving backups off just bought you some time.=C2=A0 Direct = attached SSD will completely smoke your current setup.

=
> I think they don't trust Postgres native HA capabilities and = want some hardware guarantee.

What is this, 2005?= =C2=A0 Properly configured HS/SR setups are incredibly robust and are the d= efault configuration for amazon RDS and many, many other platforms.=C2=A0 R= eading between the lines here, it sounds like your storage team bought over= priced garbage and is refusing to admit it's not getting the job done.= =C2=A0 Postgres failover gets tested routinely across a vast array of syste= ms, how many times has your exact configuration been tested?

=
Is your storage shared with other systems?=C2=A0 Do you have any= pgbench numbers for reference?=C2=A0 What are your commit rates?=C2=A0 (se= e=C2=A0xact_commit in pg_stat_database, tracked over time)

merlin
--0000000000002f5a42064cb3960d--