From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Abdul Sayeed <abdulsayeed24@gmail.com>
Cc: Edson Richter <edsonrichter@hotmail.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: It is possible to force periodically switch xlog?
Date: Wed, 1 Apr 2020 19:55:05 -0300
Message-ID: <20200401225505.GA4807@alvherre.pgsql> (raw)
In-Reply-To: <CAHb=FFwpUZ3rSb+zMNqVUkOHfNd_YOOKWeCMHz-KL4oi5+tSqA@mail.gmail.com>
On 2020-Apr-02, Abdul Sayeed wrote:
> Hi Edson,
>
> You can switch by using below command below PG 10.
>
> Select pg_switch_xlog();
>
> And there is no parameter present to switch it.
IIRC archive_timeout does precisely that.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: alvherre@2ndquadrant.com, abdulsayeed24@gmail.com, edsonrichter@hotmail.com
Subject: Re: It is possible to force periodically switch xlog?
In-Reply-To: <20200401225505.GA4807@alvherre.pgsql>
References: <CAHb=FFwpUZ3rSb+zMNqVUkOHfNd_YOOKWeCMHz-KL4oi5+tSqA@mail.gmail.com> <20200401225505.GA4807@alvherre.pgsql>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox