Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group