Re: A query in Streaming Replication

From: Sreerama Manoj <manoj(dot)sreerama973(at)gmail(dot)com>
To: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: A query in Streaming Replication
Date: 2020-06-22 05:38:28
Message-ID: CA+go1QHsQJyhTDvggpa91sFZhwBQpZzMg8Kk1JU2C4bSLk94rg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

Thanks for you reply

>> If files are assumed to
> >> be sound, pg_rewind will adjust the old master as a new standby
>

To use pg_rewind, we should either enable *wal_log_hints *or initialize
data directory with checksum enabled. These are not default and will not be
enabled in most of the cases. In those scenarios, we cannot pg_rewind to
sync data.

>> The .partial file is created when timeline diverges at midst of a WAL
> segment
>

I read somewhere that a .partial file will definitely be created during
promotion of the slave database and is introduced from the postgres 9.5
version. Please correct me if I am wrong. But in my scenario, it is not
getting generated.

Thanks and Regards,
Manoj.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Paul Förster 2020-06-22 06:02:06 Re: Netapp SnapCenter
Previous Message Stephen Frost 2020-06-22 05:36:10 Re: Netapp SnapCenter