pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Is there any impact if "#wal_keep_segments = 0 " and "checkpoint_segments = 128" postgresql.conf file.
4+ messages / 3 participants
[nested] [flat]

* Is there any impact if "#wal_keep_segments = 0 " and "checkpoint_segments = 128" postgresql.conf file.
@ 2018-10-15 07:10  Raghavendra Rao J S V <raghavendrajsv@gmail.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Raghavendra Rao J S V @ 2018-10-15 07:10 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

Hi All,

Is there any impact if  "#wal_keep_segments = 0 " and "checkpoint_segments
= 128" postgresql.conf file. If yes,what is the imapct?

*checkpoint_segments = 128* # in logfile segments, min 1, 16MB each
#checkpoint_timeout = 5min # range 30s-1h
#checkpoint_completion_target = 0.5 # checkpoint target duration, 0.0 - 1.0
#checkpoint_warning = 30s # 0 disables
*#wal_keep_segments = 0* # in logfile segments, 16MB each; 0 disables
wal_level = archive # minimal, archive, or hot_standby
*archive_mode = off* # allows archiving to be done

-- 
Regards,
Raghavendra Rao J S V

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Is there any impact if "#wal_keep_segments = 0 " and "checkpoint_segments = 128" postgresql.conf file.
@ 2018-10-15 07:46  Laurenz Albe <laurenz.albe@cybertec.at>
  parent: Raghavendra Rao J S V <raghavendrajsv@gmail.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Laurenz Albe @ 2018-10-15 07:46 UTC (permalink / raw)
  To: Raghavendra Rao J S V <raghavendrajsv@gmail.com>; pgsql-general@lists.postgresql.org

Raghavendra Rao J S V wrote:
> Is there any impact if  "#wal_keep_segments = 0 " and "checkpoint_segments = 128"
> postgresql.conf file. If yes,what is the imapct?

Yes.
- You will have fewer checkpoints requested by data modification activity.
- Crash recovery might take longer.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com





^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Is there any impact if "#wal_keep_segments = 0 " and "checkpoint_segments = 128" postgresql.conf file.
@ 2018-10-15 09:13  Jehan-Guillaume (ioguix) de Rorthais <ioguix@free.fr>
  parent: Laurenz Albe <laurenz.albe@cybertec.at>
  0 siblings, 1 reply; 4+ messages in thread

From: Jehan-Guillaume (ioguix) de Rorthais @ 2018-10-15 09:13 UTC (permalink / raw)
  To: Laurenz Albe <laurenz.albe@cybertec.at>; +Cc: Raghavendra Rao J S V <raghavendrajsv@gmail.com>; pgsql-general@lists.postgresql.org

On Mon, 15 Oct 2018 09:46:47 +0200
Laurenz Albe <laurenz.albe@cybertec.at> wrote:

> Raghavendra Rao J S V wrote:
> > Is there any impact if  "#wal_keep_segments = 0 " and "checkpoint_segments
> > = 128" postgresql.conf file. If yes,what is the imapct?  
> 
> Yes.
> - You will have fewer checkpoints requested by data modification activity.
> - Crash recovery might take longer.

And considering wal_keep_segments, there is no impact on perf/recovery. This
mostly related to the standby replication lag allowed and some other solutions
exists (slots, archiving).




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: Is there any impact if "#wal_keep_segments = 0 " and "checkpoint_segments = 128" postgresql.conf file.
@ 2018-10-15 09:14  Raghavendra Rao J S V <raghavendrajsv@gmail.com>
  parent: Jehan-Guillaume (ioguix) de Rorthais <ioguix@free.fr>
  0 siblings, 0 replies; 4+ messages in thread

From: Raghavendra Rao J S V @ 2018-10-15 09:14 UTC (permalink / raw)
  To: ioguix@free.fr; +Cc: Laurenz Albe <laurenz.albe@cybertec.at>; pgsql-general@lists.postgresql.org

Thanks a lot.

On Mon, 15 Oct 2018 at 14:43, Jehan-Guillaume (ioguix) de Rorthais <
ioguix@free.fr> wrote:

> On Mon, 15 Oct 2018 09:46:47 +0200
> Laurenz Albe <laurenz.albe@cybertec.at> wrote:
>
> > Raghavendra Rao J S V wrote:
> > > Is there any impact if  "#wal_keep_segments = 0 " and
> "checkpoint_segments
> > > = 128" postgresql.conf file. If yes,what is the imapct?
> >
> > Yes.
> > - You will have fewer checkpoints requested by data modification
> activity.
> > - Crash recovery might take longer.
>
> And considering wal_keep_segments, there is no impact on perf/recovery.
> This
> mostly related to the standby replication lag allowed and some other
> solutions
> exists (slots, archiving).
>


-- 
Regards,
Raghavendra Rao J S V
Mobile- 8861161425

^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2018-10-15 09:14 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-10-15 07:10 Is there any impact if "#wal_keep_segments = 0 " and "checkpoint_segments = 128" postgresql.conf file. Raghavendra Rao J S V <raghavendrajsv@gmail.com>
2018-10-15 07:46 ` Laurenz Albe <laurenz.albe@cybertec.at>
2018-10-15 09:13   ` Jehan-Guillaume (ioguix) de Rorthais <ioguix@free.fr>
2018-10-15 09:14     ` Raghavendra Rao J S V <raghavendrajsv@gmail.com>

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