Re: wal-size limited to 16MB - Performance issue for subsequent backup - Mailing list pgsql-hackers

From Andres Freund
Subject Re: wal-size limited to 16MB - Performance issue for subsequent backup
Date
Msg-id 20141020193508.GD7176@awork2.anarazel.de
Whole thread Raw
In response to wal-size limited to 16MB - Performance issue for subsequent backup  (jesper@krogh.cc)
Responses Re: wal-size limited to 16MB - Performance issue for subsequent backup
List pgsql-hackers
Hi,

On 2014-10-20 21:03:59 +0200, jesper@krogh.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



pgsql-hackers by date:

Previous
From: "ktm@rice.edu"
Date:
Subject: Re: wal-size limited to 16MB - Performance issue for subsequent backup
Next
From: Tom Lane
Date:
Subject: Re: wal-size limited to 16MB - Performance issue for subsequent backup