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 1miOgD-0008LJ-Fv for pgsql-admin@arkaria.postgresql.org; Wed, 03 Nov 2021 22:24:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1miOgC-0005Cy-Cg for pgsql-admin@arkaria.postgresql.org; Wed, 03 Nov 2021 22:24:24 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1miOgC-0005BP-3P for pgsql-admin@lists.postgresql.org; Wed, 03 Nov 2021 22:24:24 +0000 Received: from mailout.easymail.ca ([64.68.200.34]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1miOg9-0005TF-Hj for pgsql-admin@lists.postgresql.org; Wed, 03 Nov 2021 22:24:22 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 82FA46D9CE for ; Wed, 3 Nov 2021 22:24:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo05-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo05-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2u116HGSw_ds for ; Wed, 3 Nov 2021 22:24:19 +0000 (UTC) Received: from smtpclient.apple (unknown [4.28.96.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 337C06D9B4 for ; Wed, 3 Nov 2021 22:24:19 +0000 (UTC) From: Scott Ribe Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: q re removal/recycling of WAL files Message-Id: <4B485D8E-9692-4009-8562-43BC0E54C975@elevated-dev.com> Date: Wed, 3 Nov 2021 16:24:18 -0600 To: pgsql-admin X-Mailer: Apple Mail (2.3654.120.0.1.13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Let's say that there's a big update as part of a migration, and that = update times out, and the migration utility retries it several times. = (Context is that sequence happened through automated utility, and filled = the disk, leading to an unfortunate series of events.) 1) At what point does WAL from the failed & rolled back operations "go = away"? During the next checkpoint? During the checkpoint after = completion of all other transactions which overlapped time-wise with the = timing-out ones? 2) Is there a chance that never-visible rows would be written into = tables, bloating them? -- Scott Ribe scott_ribe@elevated-dev.com https://www.linkedin.com/in/scottribe/