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 1jJpda-0003lB-8c for pgsql-general@arkaria.postgresql.org; Thu, 02 Apr 2020 02:31:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jJpdZ-0003cd-5d for pgsql-general@arkaria.postgresql.org; Thu, 02 Apr 2020 02:31:21 +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 1jJpbk-0002k1-AQ for pgsql-general@lists.postgresql.org; Thu, 02 Apr 2020 02:29:28 +0000 Received: from mail-bn8nam11olkn2026.outbound.protection.outlook.com ([40.92.20.26] helo=NAM11-BN8-obe.outbound.protection.outlook.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jJpbg-0002jM-FA for pgsql-general@postgresql.org; Thu, 02 Apr 2020 02:29:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l50mkLC7n5Rm0yUe9hO1PURr8CH5rZubFi6hv5SvyGdnqk1XrK4FgA6oCr8K0qnwUvene5P9f/Dc4TVATanvvZh4H1smfl1v17dxk6AQYSQXrx5Wm+itEtRdkhQFcFmieSJVMnIz7aY3K1UJjgCiFQyD0GvHlmfoVFBUGmh/3TAulERjQUxfGkiLNJCMFiKo9LyHw5f08qmf+aDvFM+7X2d5BIwyrm0wSvczVK5BKJJyrIqQugKGQx4vNbxGeewhm32k+XMwJE5r7LA0UbvAd9LuyZUL6C0X8VLAZnpy1fZOTr6CGZaNSfOfH5cBic0F+zzMU4YWXA3ca8jGesPRvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lv16NTLD5w8NPF5ArZLbA+5LGQTGRoEWuydYxGGgb7A=; b=HvGwvtOcse0a5hqM3Kzdy2IyArJse8sDeJQAg4VDehoBhnNND22GKLXPZLv+y826nbadabuemSWmftxw0z+r6UDeE/kk0mRoU4CjWpPgQILkjYasZbcqtr7gGNMl6A8mw6b5T1kQdixJPWCpO34/mW3tcuBomhFCgDkhRGFWZhNv7wfeKEHHESBv2tpD5Kx8D5iSpRuojVoH7ucRFNrR2F0B3L8GM/BmgH/QQQVa2peoaTDUgTjooAgapMgGAPQynOVieXZ75u87KMu+WfGNAsBBnyAuJfG4My5JGJS+DVOw27KKSgBa3g/qq4naMS0aRNKjHTL2MhhiFja5E6rGxg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lv16NTLD5w8NPF5ArZLbA+5LGQTGRoEWuydYxGGgb7A=; b=mGs5/F/MOxW96LtMRyKX9duX+w8DYL+430ohUiyMUDSCdTiOHw+dJMbvEFOMQDt+w9yZSq0EwNUbH7ZHDQQQUUNBMGSmAb/VUG7MAfE//ChKvScXMJIqTgBZhq9ddUg5MSEMYYbQlAT6IJe96sqAynogbKnNufwtNi+6xxZfRDvYRj+M9mLD/Php396bKEskVrV+Eu9DiqzJ9rZ569EfQ5Ts2ztDat13osg1nBoRaal2DLKdaanLfiMOKPbHNRNdtUBYz/J0JDZF5B0kdYmhtv8xXTO9ZXQup2U1oxLTM6oiOXY5ohjn5ecZkFqB2mz+sZFwezAynjsjtqHZRiGE3Q== Received: from BN8NAM11FT021.eop-nam11.prod.protection.outlook.com (2a01:111:e400:fc4b::52) by BN8NAM11HT148.eop-nam11.prod.protection.outlook.com (2a01:111:e400:fc4b::184) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.15; Thu, 2 Apr 2020 02:29:22 +0000 Received: from MN2PR01MB5327.prod.exchangelabs.com (2a01:111:e400:fc4b::40) by BN8NAM11FT021.mail.protection.outlook.com (2a01:111:e400:fc4b::370) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2878.15 via Frontend Transport; Thu, 2 Apr 2020 02:29:22 +0000 Received: from MN2PR01MB5327.prod.exchangelabs.com ([fe80::651e:5e33:5b2a:adee]) by MN2PR01MB5327.prod.exchangelabs.com ([fe80::651e:5e33:5b2a:adee%7]) with mapi id 15.20.2878.016; Thu, 2 Apr 2020 02:29:22 +0000 From: Edson Richter To: pgsql-general Subject: RE: It is possible to force periodically switch xlog? Thread-Topic: It is possible to force periodically switch xlog? Thread-Index: AQHWCHDvNSgNkEXbt0qo2wE17Cf1ZKhk0/8AgAAMSYCAAAXzqYAAH5AAgAAV6SU= Date: Thu, 2 Apr 2020 02:29:22 +0000 Message-ID: References: <20200401225505.GA4807@alvherre.pgsql> ,<3240828e-3363-59af-8199-3766539923f9@pgmasters.net> In-Reply-To: <3240828e-3363-59af-8199-3766539923f9@pgmasters.net> Accept-Language: pt-BR, en-US Content-Language: pt-BR X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:E1D70B495B843EFE1ABA61534BF002405B7B3855D7B4366558A1F94614666DB7;UpperCasedChecksum:3A105FCC5EF02B653D39724CAE58A350F76FE1A85EAC6B788DC5B7445317E4C1;SizeAsReceived:7074;Count:45 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [FHBxFefZuAzQftzx8NyqXGD7WjNDuaq8] x-ms-publictraffictype: Email x-incomingheadercount: 45 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: f06556d3-954d-4c74-b798-08d7d6ada7cd x-ms-traffictypediagnostic: BN8NAM11HT148: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: bbqfZHsflu/id73F9bB5FqI7FEU+0vyLif+b9EGU91NO+cg1RkrpvWr4PsgojLG9gd7jXenJF+ZyO0wCaiy8YFsRKEqg5rAaY4lbQF1g5UdL+jspPUKZllloilHKeGWDlaIc47eoMPtW51zIxd0MJUJ9aiNRIW9wetc2L8aYNypMs+gMAPIX8gtaZcVRDRib x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:0;SRV:;IPV:NLI;SFV:NSPM;H:MN2PR01MB5327.prod.exchangelabs.com;PTR:;CAT:NONE;SFTY:;SFS:;DIR:OUT;SFP:1901; x-ms-exchange-antispam-messagedata: ijGKLfN7dS3sq8B8GZVsfm9yc/RGux/HmN5zP/JP06KO+MChphK4azduOtVo6e1xHaRVBxwNIoalIq8J/Li6comtstZLQvWdEWQ5CAz5dmsj8vziTv3zrPHeNnCvA0CidCrs8Wa1rWcKd0wYrri2Mg== x-ms-exchange-transport-forked: True Content-Type: multipart/alternative; boundary="_000_MN2PR01MB5327B3098D365954C49C907BCFC60MN2PR01MB5327prod_" MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: f06556d3-954d-4c74-b798-08d7d6ada7cd X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Apr 2020 02:29:22.8708 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8NAM11HT148 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --_000_MN2PR01MB5327B3098D365954C49C907BCFC60MN2PR01MB5327prod_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable ________________________________ De: David Steele Enviado: quarta-feira, 1 de abril de 2020 22:09 Para: Edson Richter ; pgsql-general Cc: Alvaro Herrera Assunto: Re: It is possible to force periodically switch xlog? On 4/1/20 7:19 PM, Edson Richter wrote: > > IIRC archive_timeout does precisely that. > > I would assume that "archive_mode" must be "on" or "always" - but I do > have "archive_mode=3Doff". I'm not sure what the point of switching the WAL segment would be with archive_mode=3Doff. What are you trying to accomplish? Actually, I do have a stand by server I wish to update a bit more frequentl= y in low traffic servers. Regards, Regards, -- -David david@pgmasters.net --_000_MN2PR01MB5327B3098D365954C49C907BCFC60MN2PR01MB5327prod_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable



De: David = Steele <david@pgmasters.net>
Enviado: quarta-feira, 1 de abril de 2020 22:09
Para: Edson Richter <edsonrichter@hotmail.com>; pgsql-general = <pgsql-general@postgresql.org>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Assunto: Re: It is possible to force periodically switch xlog?
 
On 4/1/20 7:19 PM, Edson Richter wrote:
>
>     IIRC archive_timeout does precisely that.
>
> I would assume that "archive_mode" must be "on" or= "always" - but I do
> have "archive_mode=3Doff".

I'm not sure what the point of switching the WAL segment would be with
archive_mode=3Doff.

What are you trying to accomplish?


Actually, I do have a stand by server I wish to up= date a bit more frequently in low traffic servers.

Regards,


Regards,
--
-David
david@pgmasters.net
--_000_MN2PR01MB5327B3098D365954C49C907BCFC60MN2PR01MB5327prod_--