pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Sv: WAL-dir filling up with wal_level = logical
3+ messages / 3 participants
[nested] [flat]

* Sv: WAL-dir filling up with wal_level = logical
@ 2018-08-03 10:33 Andreas Joseph Krogh <andreas@visena.com>
  2018-08-03 10:40 ` Re: Sv: WAL-dir filling up with wal_level = logical Andreas Kretschmer <andreas@a-kretschmer.de>
  0 siblings, 1 reply; 3+ messages in thread

From: Andreas Joseph Krogh @ 2018-08-03 10:33 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org

På fredag 03. august 2018 kl. 12:12:33, skrev Andreas Joseph Krogh <
andreas@visena.com <mailto:andreas@visena.com>>:
Version: PG-10.4
 
I don't (yet) have any replication-slots configured, and hence no standbys are 
subscribed, but I have wal_level = logical configured to be able to add 
subscribers later. I'm seeing that WAL-dir is filling up with WAL-files (now 
17GB and not declining), is this expected behaviour?
 
Thanks.
 
Hm, a co-worker noticed that we have max_wal_size = 16GB, that might be the 
reason:-)
 
--
 Andreas Joseph Krogh

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

* Re: Sv: WAL-dir filling up with wal_level = logical
  2018-08-03 10:33 Sv: WAL-dir filling up with wal_level = logical Andreas Joseph Krogh <andreas@visena.com>
@ 2018-08-03 10:40 ` Andreas Kretschmer <andreas@a-kretschmer.de>
  2018-08-03 21:04   ` Re: Sv: WAL-dir filling up with wal_level = logical Michael Paquier <michael@paquier.xyz>
  0 siblings, 1 reply; 3+ messages in thread

From: Andreas Kretschmer @ 2018-08-03 10:40 UTC (permalink / raw)
  To: pgsql-general@lists.postgresql.org; Andreas Joseph Krogh <andreas@visena.com>

On 3 August 2018 12:33:26 CEST, Andreas Joseph Krogh <andreas@visena.com> wrote:
>På fredag 03. august 2018 kl. 12:12:33, skrev Andreas Joseph Krogh <
>andreas@visena.com <mailto:andreas@visena.com>>:
>Version: PG-10.4
> 
>I don't (yet) have any replication-slots configured, and hence no
>standbys are 
>subscribed, but I have wal_level = logical configured to be able to add
>
>subscribers later. I'm seeing that WAL-dir is filling up with WAL-files
>(now 
>17GB and not declining), is this expected behaviour?
> 
>Thanks.
> 
>Hm, a co-worker noticed that we have max_wal_size = 16GB, that might be
>the 
>reason:-)
> 

Yes ;-)


Regards, Andreas


-- 
2ndQuadrant - The PostgreSQL Support Company




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

* Re: Sv: WAL-dir filling up with wal_level = logical
  2018-08-03 10:33 Sv: WAL-dir filling up with wal_level = logical Andreas Joseph Krogh <andreas@visena.com>
  2018-08-03 10:40 ` Re: Sv: WAL-dir filling up with wal_level = logical Andreas Kretschmer <andreas@a-kretschmer.de>
@ 2018-08-03 21:04   ` Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 3+ messages in thread

From: Michael Paquier @ 2018-08-03 21:04 UTC (permalink / raw)
  To: Andreas Kretschmer <andreas@a-kretschmer.de>; +Cc: pgsql-general@lists.postgresql.org; Andreas Joseph Krogh <andreas@visena.com>

On Fri, Aug 03, 2018 at 12:40:16PM +0200, Andreas Kretschmer wrote:
> On 3 August 2018 12:33:26 CEST, Andreas Joseph Krogh <andreas@visena.com> wrote:
>>Hm, a co-worker noticed that we have max_wal_size = 16GB, that might be
>>the 
>>reason:-)
> 
> Yes ;-)

Worth mentioning that this is a soft size, and not a hard size, hence
depending on your worload you may see more WAL segments than what is set
in 16GB.  The docs mention that, so no need to be surprised.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

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


end of thread, other threads:[~2018-08-03 21:04 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-08-03 10:33 Sv: WAL-dir filling up with wal_level = logical Andreas Joseph Krogh <andreas@visena.com>
2018-08-03 10:40 ` Andreas Kretschmer <andreas@a-kretschmer.de>
2018-08-03 21:04   ` Michael Paquier <michael@paquier.xyz>

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