Re: Checkpoints occur too frequently

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org, markw(at)osdl(dot)org
Subject: Re: Checkpoints occur too frequently
Date: 2004-12-17 00:12:46
Message-ID: 12190.1103242366@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
> Simon Riggs <simon(at)2ndquadrant(dot)com> writes:
>> I'd say no code changes for 8.0, now we know what's causing it. A doc
>> patch to show the limit is probably just going to annoy the translators
>> at this stage also.

> We could adjust guc.c to limit checkpoint_segments to the range 1..255
> without having to touch any translatable strings. This isn't a
> necessary change but it seems harmless ... any objections?

Or we could just fix it. After thinking a bit more, I realized that
it's not hard to push the forced-checkpoint boundary out to 2^32
segments instead of 255. That should be enough to still any complaints.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Ed L. 2004-12-17 01:17:44 timestamp arithmetic
Previous Message Belbin, Peter 2004-12-16 23:15:12 Re: solaris 10 with gcc 3.3.2