Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c7m4o-00012e-QW for pgsql-admin@arkaria.postgresql.org; Fri, 18 Nov 2016 16:31:46 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1c7m4o-0006eZ-Dg for pgsql-admin@arkaria.postgresql.org; Fri, 18 Nov 2016 16:31:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1c7m4n-0006eK-In for pgsql-admin@postgresql.org; Fri, 18 Nov 2016 16:31:45 +0000 Received: from host3.dynacom.ondsl.gr ([62.103.35.211] helo=smadev.internal.net) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1c7m4g-0006ZJ-7W for pgsql-admin@postgresql.org; Fri, 18 Nov 2016 16:31:45 +0000 Received: from smadev.internal.net (smadev [10.9.200.131]) by smadev.internal.net (8.15.2/8.15.2) with ESMTP id uAIGVXwV001463 for ; Fri, 18 Nov 2016 18:31:34 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) To: pgsql-admin@postgresql.org From: Achilleas Mantzios Subject: Effect of archive_mode , archive_command when set on the standby Message-ID: <582F2CE5.6030408@matrix.gatewaynet.com> Date: Fri, 18 Nov 2016 18:31:33 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Hello, We are using 9.3.10 on a hot standby, and I am trying to setup cascading replication in order to clone one of our master DBs to the cloud (lifting the heavy burden from the master). I am noticing that setting archive_mode , archive_command on the hot standby have absolutely zero effect. Can a standby (re)produce wal files for archiving / purposed for feeding to a downstream standby or is streaming the only way it works? In the docs (9.3) I didn't find anything regarding those parameters when used on the standby server. Currently on the master we don't keep a window of wals large enough to contain the activity of that many days as the duration of the cloning of the data disks to the cloud will last. I was thinking if we could just leave the master as is with its current (shorter term) archiving settings (3 days), and tweak only this specific hot standby to archive the wals on its own, providing a larger window (7 days+) for the new downstream standby to catch up before we revert to streaming. Am I missing anything? -- Achilleas Mantzios IT DEV Lead IT DEPT Dynacom Tankers Mgmt -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin