Re: It is possible to force periodically switch xlog?

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Abdul Sayeed <abdulsayeed24(at)gmail(dot)com>
Cc: Edson Richter <edsonrichter(at)hotmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: It is possible to force periodically switch xlog?
Date: 2020-04-01 22:55:05
Message-ID: 20200401225505.GA4807@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Edson Richter 2020-04-01 23:19:30 RE: It is possible to force periodically switch xlog?
Previous Message Abdul Sayeed 2020-04-01 22:11:06 Re: It is possible to force periodically switch xlog?