Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g9j5k-000717-Ii for pgsql-general@arkaria.postgresql.org; Tue, 09 Oct 2018 03:53:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g9j5h-0002Aw-U1 for pgsql-general@arkaria.postgresql.org; Tue, 09 Oct 2018 03:53:49 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g9j5h-0002AP-Hk for pgsql-general@lists.postgresql.org; Tue, 09 Oct 2018 03:53:49 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g9j5Z-0001Cf-Ji for pgsql-general@postgresql.org; Tue, 09 Oct 2018 03:53:48 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 155E3802; Mon, 8 Oct 2018 23:53:40 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 08 Oct 2018 23:53:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=2RW3w2D2Kb77pR+OK4+Ama4Jz0/ vxLuEzhPD72BAkEs=; b=sjc5xaWYK1nXPY/pWO8p8PNNf4Zcl78Tizbi0yVQMG2 AnLqGiaGCPsrUNNGnNZdcWsetHH7m//WnMBO2o2vipooJsqBA3eAAAGm13DY0ef4 WDqjLx1ahR0agGT3QFEbzdwRcxVaAjDoFe3MifnOYkll9001MZFXhYj1Rs19KtZI O0z/oidt8IxQMt0yOarOLyKuCkjvNeg4Pp1mxjmDWBdzIC07VHPd2z2oWu+xxwrI bdptCEYAQXW69O8KNjl9IOi32MT3d4ZaT9Z2J1kKyfFuU+gpCeZGjvQfPyAp0HRF KVh2ftVRjO+Mnw6LdCg2qLTpDpFkNFuA32xsx7G08/w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=2RW3w2 D2Kb77pR+OK4+Ama4Jz0/vxLuEzhPD72BAkEs=; b=tDEo37Yw3Dc1SXa5ae7r+H iJ5lf9scKaogQlAJvW7nVqZ4NgBclPQ3yON8/pbhWuj+qEiZLOcnNAsubwLJJ1o3 1/PARXhY/eXPzmUSJIkPiX+4tWFDbo2RCAOxAMexc/KFWuLyAfYid6yjvLvsErzY 4u+/XjWjlZrTliv8f0lRJ3hUvsm+D0GRHWhUNVcYJUAQNXnIpWctiKRh5W8/1qUi YiayIWMaSe7LfohqPZk+C/Gez8L0XZDmX9FAM0A38Jg6WbDj+PMa6eEoYMABRhLd smx6z62QKUCfQw57GmyHgTdlyjECnnRUyLKcEJFQ3ZI9WscNl8/AnPdbDY2DeCHQ == X-ME-Sender: X-ME-Proxy: Received: from paquier.xyz (c137162.net61215.cablenet.ne.jp [61.215.137.162]) by mail.messagingengine.com (Postfix) with ESMTPA id C49D2102EB; Mon, 8 Oct 2018 23:53:37 -0400 (EDT) Date: Tue, 9 Oct 2018 12:53:34 +0900 From: Michael Paquier To: magodo Cc: Postgres general Subject: Re: pg9.6: no backup history file (*.backup) created on hot standby Message-ID: <20181009035334.GF2137@paquier.xyz> References: <6ac35bd51a0a4faad011fab162a2888a09ab2dd7.camel@sina.com> <20181008092451.GE2754@paquier.xyz> <55036790ed3c8c900d674bf90dfbdd65f6ab170f.camel@sina.com> <20181009024504.GB2137@paquier.xyz> <4691e0cffc49fa1438de904ec5429b310d74c654.camel@sina.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="udcq9yAoWb9A4FsZ" Content-Disposition: inline In-Reply-To: <4691e0cffc49fa1438de904ec5429b310d74c654.camel@sina.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --udcq9yAoWb9A4FsZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Oct 09, 2018 at 11:45:50AM +0800, magodo wrote: > Yet, I am still not so clear how does the bloat of pg_wal happen? Do > you mean pg_wal will be filled up by many .backup(s)? If your archive_command is for example a simple cp (which it should not be by the way), and if you try to archive twice the same file, then the archive command would continuously fail and prevent existing WAL segments to be archived. Segments are continuously created, and pg_wal grows in size. -- Michael --udcq9yAoWb9A4FsZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAlu8Jj4ACgkQnvQgOdby QH2pLg/7BfoQ32B7AUuQyk2rp/A+arkC9atN40M4QpghZkvsWHDFbSRMgUkXUJJ5 nElIwhvfyVbDx74j7g4Ko/3Hd15gbIkPFRM8SLmehINy+9n0x01ESz/P0fculjSl oFJGV3+8ek95F3Nnzx+oKZKVM1faL/Q45bCdv8NWjRwUfipyJhRZj8Lu4mddrACM rjm607jkMn1DFMnDfDmuycMDOL7YZThu8pqb1R9bQvUNUAhaPeTHwSLJRKBuJQQT LzCx0TgCwvjgJuJ1W8/1MyVjHgLHcfvIBu0C7dwPaRaQYJW6mcF2eYx5waDG6LwY D2iSoL0YAKgEeqcH3OuA7UHWx0j/gB58kXDNDcnQoR57LE+LxPXsrB5SGNtf+d3N mXorkgtJSz9kn1n68+okXjVoNRMevOKfBxpGHPQ3ergAyj1lf6ZKsC+pUvgsW+oH XEITsBIfQ251158NXznll76Doa+/C2+CVve7D2OF5L8rgQoJLtC3T3WNQRoZkm0+ Y6a2/P11ATNfQPS3xYVOLMhZRgcWVw8nLXNmbLbrq1QIgvmKQbWZaW5jz3GfA5G3 wFB7RZxsLuwI+eFIqb4EZ6hQjMwAzdcMrr5NsqDBSYmUdn1oylLws+PSvPN4jZ/r Jab+l7ZFoDaaFXweachp/u/Zd3CLSO8pd1wZhO2TKF3bLl+8Orc= =F9ao -----END PGP SIGNATURE----- --udcq9yAoWb9A4FsZ--