Re: Wal_keep_segment value too high

From: Brajendra Pratap Singh <singh(dot)bpratap766(at)gmail(dot)com>
To: Andreas Kretschmer <andreas(at)a-kretschmer(dot)de>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: Wal_keep_segment value too high
Date: 2020-07-10 13:02:01
Message-ID: CAFD-joNJbtPFCCSb0mMG1uPktsCkh54nT_rJAUirVeAM0NsjkA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Andreas,

Actually there will be sync gap almost 3-4hours during the ETL jobs between
primary and streaming replication db ,so I just want to make sure is there
any affect in replication bcoz of high value of wal_keep_segments .

Second thing we have implemented pgbackrest in archive_command so archive
name will generate in zipped format along with some binary so what will be
the restore_command for that if we lose any wals from wal directory of
primary db and how it will be applying to replication db via
restore_command means is it require password less ssh between primary and
replica.

Third thing is the high value of wal_keep_segment anyhow affect the
checkpoint operation ,dml operation,select query or data write operation
from memory to disk?

Thanks,
Brajendra

On Fri, 10 Jul, 2020, 5:44 PM Andreas Kretschmer, <andreas(at)a-kretschmer(dot)de>
wrote:

> On 10 July 2020 10:26:25 CEST, Brajendra Pratap Singh <
> singh(dot)bpratap766(at)gmail(dot)com> wrote:
> >Hi,
> >
> >What will happen if the wal_keep_segments value is too high ,is this
>
> wasted disk space.
>
> What do you want to achive?
>
>
> Regards, Andreas
>
>
> --
> 2ndQuadrant - The PostgreSQL Support Company
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2020-07-10 13:53:53 Re: Postgresql-12 taking more time to execute the query
Previous Message Alvaro Herrera 2020-07-10 12:37:54 Re: invalid non-zero objectSubId for object class