RE: It is possible to force periodically switch xlog?

Поиск
Список
Период
Сортировка
От Edson Richter
Тема RE: It is possible to force periodically switch xlog?
Дата
Msg-id BYAPR01MB531850840CD20F19D922BF10CFC90@BYAPR01MB5318.prod.exchangelabs.com
обсуждение исходный текст
Ответ на Re: It is possible to force periodically switch xlog?  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: It is possible to force periodically switch xlog?
Список pgsql-general


De: Alvaro Herrera <alvherre@2ndquadrant.com>
Enviado: quarta-feira, 1 de abril de 2020 19:55
Para: Abdul Sayeed <abdulsayeed24@gmail.com>
Cc: Edson Richter <edsonrichter@hotmail.com>; pgsql-general <pgsql-general@postgresql.org>
Assunto: Re: It is possible to force periodically switch xlog?
 
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.

I would assume that "archive_mode" must be "on" or "always" - but I do have "archive_mode=off".

Regards,

Edson

В списке pgsql-general по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: It is possible to force periodically switch xlog?
Следующее
От: David Gauthier
Дата:
Сообщение: using a common key value on both sides of a union ?