Search Postgresql Archives

RE: It is possible to force periodically switch xlog?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 






De: Kyotaro Horiguchi <horikyota.ntt@xxxxxxxxx>
Enviado: quarta-feira, 1 de abril de 2020 22:22
Para: david@xxxxxxxxxxxxx <david@xxxxxxxxxxxxx>
Cc: edsonrichter@xxxxxxxxxxx <edsonrichter@xxxxxxxxxxx>; pgsql-general@xxxxxxxxxxxxxx <pgsql-general@xxxxxxxxxxxxxx>; alvherre@xxxxxxxxxxxxxxx <alvherre@xxxxxxxxxxxxxxx>
Assunto: Re: It is possible to force periodically switch xlog?
 
At Wed, 1 Apr 2020 21:09:20 -0400, David Steele <david@xxxxxxxxxxxxx> wrote in
> 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=off".
>
> I'm not sure what the point of switching the WAL segment would be with
> archive_mode=off.
>
> What are you trying to accomplish?

Also I'm a bit curious about that, but anyway archive_timeout works
even with archive_mode=off. The name looks being a bit off of its
substance.


regards.

--
Kyotaro Horiguchi
NTT Open Source Software Center


Good to know!
But meanwhile I've wrote a small bash script that executs pg_switch_xlog() and scheduled it in Crond.

Regards,

Edson


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux