public inbox for [email protected]
help / color / mirror / Atom feedFrom: KK CHN <[email protected]>
To: pgsql-general <[email protected]>
Subject: WAL replication standby server: query
Date: Tue, 15 Oct 2024 22:40:53 +0530
Message-ID: <CAKgGyB-Mm6dorL2bFJA-9ZG04C99X+T-nQuYis9T0TU0OVSx0A@mail.gmail.com> (raw)
List ,
I am trying to configure a WAL replicated standby server(EDB16) .. In
the archive command I used a dedicated "/data/archive " directory for
WAL archiving as follows, as I don't want any WAL overwriting in the
default WAL directory and loss of WAL files.
I have
archive_command= ' cp %p /data/archive/%f '
pg_hba.conf I have
host replication all 10.255.10.0/24 md5
My doubt is whether the standby Postgres server(EDB16) reads WAL files by
itself from the primary server's explicit WAL archive folder
/data/archive by its own ?
OR
The standby can read only from the default WAL location ie; pg_wal
directory of primary server ?
Please enlighten me.
If the standby can read only the default pg_wal folder, then how can we
make the standby server to read from the explicit " /data/archive "
folder for WAL syncing automatically to the standby ?
Any input is much appreciated.
Thank you,
Krishane
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: WAL replication standby server: query
In-Reply-To: <CAKgGyB-Mm6dorL2bFJA-9ZG04C99X+T-nQuYis9T0TU0OVSx0A@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox