From: Laurenz Albe <laurenz.albe@cybertec.at>
To: ghiureai <isabella.ghiurea@nrc-cnrc.gc.ca>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: streaming replication corruption Q's
Date: Thu, 05 Oct 2017 09:07:27 +0200
Message-ID: <1507187247.3119.1.camel@cybertec.at> (raw)
In-Reply-To: <59D5300C.4030701@nrc-cnrc.gc.ca>
References: <59D5300C.4030701@nrc-cnrc.gc.ca>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
ghiureai wrote:
> I'm reading PG 10 streaming replication manual, I would like to learn
> from your expertise if this type of replication will copy a bad
> segment/bit corrupt from master to slave host , will this possible to
> happened ?
Streaming replication happens on a physical level, so it does not pay
attention to logical consistency.
If the primary is suffering from data corruption, every data
modification containing that data corruption will be replicated.
> What are the most common issues you seeing when running streaming
> replication, any files/bits corruption ( from my understanding
> logical replication will replicate data corruption)where do you have to
> pay attention when setting up a new system like this ,
That question is too general...
Make sure that you are running the same operating system version on
(ideally) the same hardware on all machines.
Either set wal_keep_segments high enough or (more cumbersome, but
more reliable) configure WAL shipping as a fallback when the
standby has a longer down time.
Yours,
Laurenz Albe
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
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: pgsql-admin@postgresql.org
Cc: laurenz.albe@cybertec.at, isabella.ghiurea@nrc-cnrc.gc.ca
Subject: Re: streaming replication corruption Q's
In-Reply-To: <1507187247.3119.1.camel@cybertec.at>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox