Re: wal-size limited to 16MB - Performance issue for subsequent backup

From: Andres Freund <andres(at)2ndquadrant(dot)com>
To: jesper(at)krogh(dot)cc
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: wal-size limited to 16MB - Performance issue for subsequent backup
Date: 2014-10-20 19:35:08
Message-ID: 20141020193508.GD7176@awork2.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 2014-10-20 21:03:59 +0200, jesper(at)krogh(dot)cc wrote:
> One of our "production issues" is that the system generates lots of
> wal-files, lots is like 151952 files over the last 24h, which is about
> 2.4TB worth of WAL files. I wouldn't say that isn't an issue by itself,
> but the system does indeed work fine. We do subsequently gzip the files to
> limit actual disk-usage, this makes the files roughly 30-50% in size.

Have you analyzed what the source of that volume is? Which version of
postgres are you using? What's your checkpoint_timeout/segments
settings?

Greetings,

Andres Freund

--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-10-20 19:39:03 Re: wal-size limited to 16MB - Performance issue for subsequent backup
Previous Message jesper 2014-10-20 19:27:39 Re: wal-size limited to 16MB - Performance issue for subsequent backup