From: | Edson Richter <edsonrichter(at)hotmail(dot)com> |
---|---|
To: | Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, "david(at)pgmasters(dot)net" <david(at)pgmasters(dot)net> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>, "alvherre(at)2ndquadrant(dot)com" <alvherre(at)2ndquadrant(dot)com> |
Subject: | RE: It is possible to force periodically switch xlog? |
Date: | 2020-04-02 02:31:16 |
Message-ID: | MN2PR01MB5327F7DA9CAB8BB56BFDC5FBCFC60@MN2PR01MB5327.prod.exchangelabs.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
________________________________
De: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
Enviado: quarta-feira, 1 de abril de 2020 22:22
Para: david(at)pgmasters(dot)net <david(at)pgmasters(dot)net>
Cc: edsonrichter(at)hotmail(dot)com <edsonrichter(at)hotmail(dot)com>; pgsql-general(at)postgresql(dot)org <pgsql-general(at)postgresql(dot)org>; alvherre(at)2ndquadrant(dot)com <alvherre(at)2ndquadrant(dot)com>
Assunto: Re: It is possible to force periodically switch xlog?
At Wed, 1 Apr 2020 21:09:20 -0400, David Steele <david(at)pgmasters(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2020-04-02 02:38:59 | Re: It is possible to force periodically switch xlog? |
Previous Message | Edson Richter | 2020-04-02 02:29:22 | RE: It is possible to force periodically switch xlog? |