From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>, 'Euler Taveira' <euler(at)eulerto(dot)com>, Shlok Kyal <shlok(dot)kyal(dot)oss(at)gmail(dot)com> |
Cc: | "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>, vignesh C <vignesh21(at)gmail(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>, Peter Eisentraut <peter(at)eisentraut(dot)org>, Andres Freund <andres(at)anarazel(dot)de>, Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Fabrízio de Royes Mello <fabriziomello(at)gmail(dot)com> |
Subject: | Re: speed up a logical replica setup |
Date: | 2024-02-29 05:01:10 |
Message-ID: | 3c981a4e-9dad-c58d-ddc5-4087933b1325@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 2024-02-27 Tu 05:02, Hayato Kuroda (Fujitsu) wrote:
> Dear Euler,
>
>> Sorry, which pg_rewind option did you mention? I cannot find.
>> IIUC, -l is an only option which can accept the path, but it is not related with us.
> Sorry, I found [1]. I was confused with pg_resetwal. But my opinion was not so changed.
> The reason why --config-file exists is that pg_rewind requires that target must be stopped,
> which is different from the current pg_createsubscriber. So I still do not like to add options.
>
> [1]: https://www.postgresql.org/docs/current/app-pgrewind.html#:~:text=%2D%2Dconfig%2Dfile%3Dfilename
> [2]:
> ```
> The target server must be shut down cleanly before running pg_rewind
> ```
>
Even though that is a difference I'd still rather we did more or less
the same thing more or less the same way across utilities, so I agree
with Euler's suggestion.
cheers
andrew
--
Andrew Dunstan
EDB: https://www.enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2024-02-29 05:05:15 | Re: Infinite loop in XLogPageRead() on standby |
Previous Message | Kyotaro Horiguchi | 2024-02-29 04:04:04 | Re: SLRU optimization - configurable buffer pool and partitioning the SLRU lock |