Re: max_slot_wal_keep_size and wal_keep_segments

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: David Steele <david(at)pgmasters(dot)net>, Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: max_slot_wal_keep_size and wal_keep_segments
Date: 2020-07-01 20:25:35
Message-ID: 20200701202535.GA26854@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2020-Jul-01, Bruce Momjian wrote:

> We have the following wal*size GUC settings:
>
> SELECT name FROM pg_settings WHERE name LIKE '%wal%size%';
> name
> ------------------------
> max_slot_wal_keep_size
> max_wal_size
> min_wal_size
> wal_block_size
> wal_segment_size
>
> Does wal_keep_size make sense here?

I think it does. What do you think?

Are you suggesting that "keep_wal_size" is better, since it's more in
line with min/max? I lean towards no.

(I think it's okay to conceptually separate these three options from
wal_block_size, since that's a compile time option and thus it's an
introspective GUC rather than actual configuration, but as I recall that
argument does not hold for wal_segment_size. But at one point, even that
one was an introspective GUC too.)

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2020-07-01 20:26:23 Re: proposal - plpgsql - FOR over unbound cursor
Previous Message Magnus Hagander 2020-07-01 20:24:15 Re: Remove Deprecated Exclusive Backup Mode