Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1neItt-0004Na-7o for pgsql-hackers@arkaria.postgresql.org; Tue, 12 Apr 2022 15:57:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1neItr-000426-Vg for pgsql-hackers@arkaria.postgresql.org; Tue, 12 Apr 2022 15:57:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1neItr-00041x-MX for pgsql-hackers@lists.postgresql.org; Tue, 12 Apr 2022 15:57:51 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1neItp-0006WA-1L for pgsql-hackers@postgresql.org; Tue, 12 Apr 2022 15:57:51 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 5E8383201F27; Tue, 12 Apr 2022 11:57:45 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 12 Apr 2022 11:57:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ilmari.org; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; t=1649779064; x=1649865464; bh=+V0KgFZgpc f+u5X9PX3WEfq3r3bKYN24/wd9tf5j3To=; b=jQjR1cl004WZTUz3SnMIOIcTGV Zb5j7Een1Prz+wrBdBPXderHI41C0WUd4jesjB5S/mesdqEpFtL1NnXkHLI1VYeD YsParprv37rEmypU+TUwl1G3/B099SSEflKOBaOVEmjB20NuSci/CcYZJdb+kJxq B7ZVoSh2dFmAs+ja6diiXJM1awmhI7b4pdLm2OcaoixCycWmPfWP29LBmCW4KgCB s6pTqyejZ3+415CgTxMBDOUYXkkKCzImBmP2t2b+VZu3LXvbpcyHwof1YOAy6h7e HcbhX+fptsDjMFRXCyEVIEyTs6oF0k/Hwszs09KANL19i+ffr78ljhPM+lvg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1649779064; x= 1649865464; bh=+V0KgFZgpcf+u5X9PX3WEfq3r3bKYN24/wd9tf5j3To=; b=U XW7xf0+tudXIHElekrSPo++bcOoe5gOBz0K+FATCiYrvoGLkTwNpEi7hQNTyzgIt rkURo1ZBH/BOJmUpwDOs880tRZfOFxrlfU9ESDdPIc/iVkNyjC9t7ANTD18ABFZC P2dnagSoVMmdUVMxg7TnaiSpLhSBlGMg1HWHU/VpwpuITC6gt9dbPrBofK9X8SDf NR/rKwALSso0qTssB2UvvwlED6vqTFTOWZLSBDlkKLVOhneZCI+2LZcuTm2HTazf 6ls4rOojkJYbrMrzxLh66xuL017Df7YrjZoJjtKL85t+lkRXFnLozAkmbU4sAwW9 nT0hB9wKU4TAQVEZM3oqg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudekkedgleefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufhfffgjkfgfgggtsehttdertddtreejnecuhfhrohhmpeffrghgfhhi nhhnpgfklhhmrghrihgpofgrnhhnshonkhgvrhcuoehilhhmrghrihesihhlmhgrrhhird horhhgqeenucggtffrrghtthgvrhhnpeeigeelgedtvddvvedtvdegieehjeevueduffeh veehffefgffhfeeiieevuddtteenucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorh hgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepihhl mhgrrhhisehilhhmrghrihdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 12 Apr 2022 11:57:42 -0400 (EDT) From: =?utf-8?Q?Dagfinn_Ilmari_Manns=C3=A5ker?= To: Simon Riggs Cc: Thomas Munro , Julien Rouhaud , Ashutosh Sharma , Daniel Gustafsson , Stephen Frost , Alvaro Herrera , Andres Freund , David Steele , Dmitry Dolgov <9erthalion6@gmail.com>, Jakub Wartak , Tom Lane , Tomas Vondra , Tomas Vondra , pgsql-hackers Subject: Re: WIP: WAL prefetch (another approach) References: <20220309064633.woyf53w3odnhltah@jrouhaud> <20220311082737.bmnlmtzwi2xqrhxl@jrouhaud> <20220314071713.v4anmngdi5njaple@jrouhaud> <20220321082916.ysrlw2xst2tpyc5a@jrouhaud> Date: Tue, 12 Apr 2022 16:57:41 +0100 In-Reply-To: (Simon Riggs's message of "Tue, 12 Apr 2022 14:58:17 +0100") Message-ID: <87tuaynvka.fsf@wibble.ilmari.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Simon Riggs writes: > On Thu, 7 Apr 2022 at 08:46, Thomas Munro wrote: > >> With that... I've finally pushed the 0002 patch and will be watching >> the build farm. > > This is a nice feature if it is safe to turn off full_page_writes. > > When is it safe to do that? On which platform? > > I am not aware of any released software that allows full_page_writes > to be safely disabled. Perhaps something has been released recently > that allows this? I think we have substantial documentation about > safety of other settings, so we should carefully document things here > also. Our WAL reliability docs claim that ZFS is safe against torn pages: https://www.postgresql.org/docs/current/wal-reliability.html: If you have file-system software that prevents partial page writes (e.g., ZFS), you can turn off this page imaging by turning off the full_page_writes parameter. - ilmari