Re: checkpoint_segments 32 megs?

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: checkpoint_segments 32 megs?
Date: 2005-07-13 22:33:46
Message-ID: 1121294026.3970.370.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 2005-07-13 at 17:57 -0400, Tom Lane wrote:
> I'm not certain how important that really is; it was part of
> Vadim's original design for WAL and no one ever particularly
> questioned it.

Anybody setting checkpoint_segments high is likely to have a dedicated
WAL disk anyway, which easily gives you space for 1000s of WAL segment
files, given current disk sizes. So saving space shouldn't be a reason
to want to remove that.

It seems practical sense to have more than one checkpoint available. The
whole purpose of WAL is robustness and recoverability. All DBAs (should)
keep both their last backup and the one before that (at least), with
many sites specifying an automatic retention history of 7 or more. That
same philosophy should work with the WAL files also.

So, overall, I see no reason to change that feature.

Best Regards, Simon Riggs

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2005-07-13 23:39:20 Re: windows regression failure - prepared xacts
Previous Message Tom Lane 2005-07-13 21:59:37 Re: Determine index's attribute number by scankey