RE: It is possible to force periodically switch xlog?
От | Edson Richter |
---|---|
Тема | RE: It is possible to force periodically switch xlog? |
Дата | |
Msg-id | MN2PR01MB5327F7DA9CAB8BB56BFDC5FBCFC60@MN2PR01MB5327.prod.exchangelabs.com обсуждение исходный текст |
Ответ на | Re: It is possible to force periodically switch xlog? (Kyotaro Horiguchi <horikyota.ntt@gmail.com>) |
Список | pgsql-general |
De: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Enviado: quarta-feira, 1 de abril de 2020 22:22
Para: david@pgmasters.net <david@pgmasters.net>
Cc: edsonrichter@hotmail.com <edsonrichter@hotmail.com>; pgsql-general@postgresql.org <pgsql-general@postgresql.org>; alvherre@2ndquadrant.com <alvherre@2ndquadrant.com>
Assunto: Re: It is possible to force periodically switch xlog?At Wed, 1 Apr 2020 21:09:20 -0400, David Steele <david@pgmasters.net> 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
В списке pgsql-general по дате отправления: