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 1jJplB-0004Va-66 for pgsql-general@arkaria.postgresql.org; Thu, 02 Apr 2020 02:39:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jJpl9-0007lN-Ll for pgsql-general@arkaria.postgresql.org; Thu, 02 Apr 2020 02:39:11 +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 1jJpl9-0007ib-DS for pgsql-general@lists.postgresql.org; Thu, 02 Apr 2020 02:39:11 +0000 Received: from mail-qk1-x741.google.com ([2607:f8b0:4864:20::741]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jJpl2-0005k9-Bh for pgsql-general@postgresql.org; Thu, 02 Apr 2020 02:39:10 +0000 Received: by mail-qk1-x741.google.com with SMTP id d11so2522759qko.3 for ; Wed, 01 Apr 2020 19:39:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=FlotXHOCCpo/rLNsNM7+nXobf7M+VnpBRY/nFcXW8YA=; b=qp0c0RFqHpQKuAlT/rcfDRn5WINxPbSrlBJeHbgwQxprfwGaoeLVrYS8ZK47q9/kft Og0SfvdlPJDN7n0eh4ptKsdCEmSggbXnDmcpJO5eMKBM0l+84ICbRHJe8GXWodCmhPkX 2ZC4tv7E//xquLEvJgpaRW1jpeoD3E3T2x15RLkI6NShBCjhhrzJM3+qH89ECGakEVO0 hqTrfeoLsmyEPtFkxhFq0+wiICX16fzR+5rQkS4hzjtDcOj9L2g9hwkoPCvD8jeAhthj Nq2NZpz7cxw6u8O/Y5pLxI2JoaWiqo+uv9rO94xa6NEf41dtzJQHc+YqQQWTTi4hY6RQ e3wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=FlotXHOCCpo/rLNsNM7+nXobf7M+VnpBRY/nFcXW8YA=; b=GzjFtM9/M/gzBK98REb10GMgJ4OTwnqDmq6TFbey/OewuaI0krqfzqsDJScezfcEGp FfWRdZN3tjEE8z4/mbuDldUxzxBcpNtNI7ieiEI7BW8A+WReYQOElYNCDnRpaGYKOwtJ YGcbdiI2rUUZMEEVBsrT7ZtWwHQlaiGBSqQ9x0ylBwMHfGalY7J1ChcOHQOtSWs8NWep hkk/TaXPQYUcuFfGBsT6YTvTO8DWpEzo6bqdnH96aewNnR89KcKE9g4yPebKDtd0BAy7 +x1Y/UARMuZEpD0/QhkYSXvoLtR+U0jotgBjPzLJqNatuMTspcYnl9EzVRT0d/xiDLRW RMJA== X-Gm-Message-State: AGi0PuZ8ULi5xoiZ153ZQsMeosMFGiNdaxtY9oFNisFGKfpReG1Po7Bb 3582RWBPA345uDupPI6TU0Xbww== X-Google-Smtp-Source: APiQypI01PqE0dn+h8RgEF0v1nPHOqNUi4AuVc3FouD8IuBXGWLxuDHjBxJwTLc6alOHaYY19EvQxg== X-Received: by 2002:a37:a95:: with SMTP id 143mr1405284qkk.264.1585795142372; Wed, 01 Apr 2020 19:39:02 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([190.95.18.252]) by smtp.gmail.com with ESMTPSA id d2sm2574056qkl.98.2020.04.01.19.39.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Apr 2020 19:39:01 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id F1E1B300A9D; Wed, 1 Apr 2020 23:38:59 -0300 (-03) Date: Wed, 1 Apr 2020 23:38:59 -0300 From: Alvaro Herrera To: Edson Richter Cc: pgsql-general Subject: Re: It is possible to force periodically switch xlog? Message-ID: <20200402023859.GA10773@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-Apr-02, Edson Richter wrote: > Actually, I do have a stand by server I wish to update a bit more > frequently in low traffic servers. It is better to use streaming replication for that. Using the WAL archive for that is an archaic mechanism now. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services