Re: checkpoint_segments upgrade recommendation?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: checkpoint_segments upgrade recommendation?
Date: 2015-10-20 18:11:28
Message-ID: 562683D0.7020309@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 10/17/15 10:25 AM, Michael Paquier wrote:
> I think that we should just suggest a reverse formula of the maximum
> soft limit of checkpoint_segments for max_wal_size in the release notes
> of 9.5, basically:
> (3 * your_old_checkpoint_segments + 1) * 16MB = max_wal_size

How about this patch?

(Actually, I'd remove the + 1 to make the numbers come out rounder.)

Attachment Content-Type Size
0001-doc-Add-advice-on-updating-checkpoint_segments-to-ma.patch application/x-patch 1.4 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2015-10-20 18:22:14 Re: Multi-column distinctness.
Previous Message Alvaro Herrera 2015-10-20 18:10:47 Re: Dangling Client Backend Process