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.94.2) (envelope-from ) id 1regad-00CpUk-QM for pgsql-admin@arkaria.postgresql.org; Mon, 26 Feb 2024 19:24:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1regab-00GA9z-L3 for pgsql-admin@arkaria.postgresql.org; Mon, 26 Feb 2024 19:24:38 +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.94.2) (envelope-from ) id 1regaa-00GA8t-VJ for pgsql-admin@lists.postgresql.org; Mon, 26 Feb 2024 19:24:37 +0000 Received: from tamriel.snowman.net ([70.109.60.50]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1regaS-001H4c-V1 for pgsql-admin@lists.postgresql.org; Mon, 26 Feb 2024 19:24:35 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 10B0D5F7B7; Mon, 26 Feb 2024 14:24:25 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=snowman.net; s=dkim; t=1708975465; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=XQn2IyFRs0VxQtBMJvZLxS9OkhF0xGVjRKTcIXoc/mg=; b=AwKtNin45FvqAKXxVAtlH51WfKavVdfv59iuaG+zLiq9lfXkMTy9qN0tBz6dDO+ELG5qUG v3gWzkIJV5LWufWOi6QLD+YjEq39U2Vxak+jHjbEbHe4H9FVuRpLe5JsFButb7XvHAbX5+ Ka0SRW02E+m8lfNlzPa6KtPyp4kgtxw= Date: Mon, 26 Feb 2024 14:24:25 -0500 From: Stephen Frost To: norbert poellmann Cc: pgsql-admin@lists.postgresql.org Subject: Re: Would you ever recommend Shared Disk Failover for HA? Message-ID: References: <20240222185937.M23609@ibu.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="++2waKRpFWO5qaIn" Content-Disposition: inline In-Reply-To: <20240222185937.M23609@ibu.de> User-Agent: Mutt/2.1.4 (2021-12-11) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --++2waKRpFWO5qaIn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Greetings, * norbert poellmann (np@ibu.de) wrote: > https://www.postgresql.org/docs/current/different-replication-solutions.html > is listing a shared disk solution for HA. Yeah. Frankly, it's bad advice and we should remove it. "Rapid failover" is a bit laughable compared to replication when you consider that crash recovery can take a very, very long time (depending on how much outstanding WAL has been written since the last checkpoint but with extended checkpoints and single-process WAL replay, crash recovery could be on the order of hours ...) and promoting an online replica takes only moments. Ditto for block-based replication. Probably should talk about WAL shipping more as "Physical Replication". At the least, physical replication should really be listed first and then logical replication, perhaps even in a distinct "included as part of PostgreSQL" section with everything else pushed down to "some other things exist that you could try"... Thanks, Stephen --++2waKRpFWO5qaIn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEwf6gbxKhD863zrx/7WyKOINHZFUFAmXc5WYACgkQ7WyKOINH ZFUaDA/+Mku4tg4GjTl73Xe1lT32kSA7vHRnfExbFJCBQy2V/iuc8XmriV8qPhqB ywy+T3MRx1EIr8ggA0f6aGFXf2Ww5qicusfX79wA4j6Z2ifLXqpJWbgYD8ixxPV4 maOSqRJrTa+Pd5q2fx0KBnYNAa5TONvXpDwUvSB3erIew5SY0S+0uZilgLBAr247 VfTYr8D8n6XqKSCSUGgeIeByDl6WaLvq18PigwmismORIAXqiK/WtMzb9UxZ42+d kqtOqqoZSHOGLgSC/vcKPSA1vtiU2v+BctmFSAw4tnECScaFk0Jg521FX2hJVfvI sE4nOH6gdF7W0giVM/G1T+W1VMUYU6jEl6djzPUUbGwcDEZENx3Q9afzrVe001+f c0nRgHcsmJTNzwVCfQtNFbZ4zFlvMiFE1dolfGQoKDBYpjC5Q3nvbz83MNftBQKy mqjAyEEIPWS5Q+aAoJWwm+/IGRE6A6IFHljO+oZnkDW9v5S/cYWdZHjvWSRlgOuk U+nAXo5JY3IM5CtqTejdI7cz2Tvt1DWRR1PI2hAicmTlQA8g0xYUAud0X+mQ4hl9 WD376pI4i5i6k/j8fyJwbtS5dUS18s2A9p5BAiAyO86v3sLhstf5zyeo10ru42eR rPkyDd+jDPc1tvOkbwJNm7TuvxdCcvy/FRQYxmFvAwvBUaGHGLQ= =OvAR -----END PGP SIGNATURE----- --++2waKRpFWO5qaIn--