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

Re: checkpoint segments

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: "David Parker" <dparker(at)tazznetworks(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: checkpoint segments
Date: 2005-05-16 03:26:02
Message-ID: 200505152026.02262.josh@agliodbs.com (view raw or flat)
Thread:
Lists: pgsql-performance
David,

> I've seen these messages in the log before, and am aware of the need to
> increase checkpoint_segments, but I wasn't aware that recycling a
> transaction log could be that damaging to performance. There may have
> been some local hiccup in this case, but I'm wondering if recycling is
> known to be a big hit in general, and if I should strive to tune so that
> it never happens (if that's possible)?

Yes, and yes.   Simply allocating more checkpoint segments (which can eat a 
lot of disk space -- requirements are 16mb*(2 * segments +1) ) will prevent 
this problem.

-- 
Josh Berkus
Aglio Database Solutions
San Francisco

In response to

Responses

pgsql-performance by date

Next:From: Josh BerkusDate: 2005-05-16 03:27:24
Subject: Re: Postgresql Performance via the LSI MegaRAID 2x Card
Previous:From: Thomas F. O'ConnellDate: 2005-05-16 02:45:54
Subject: Re: PostgreSQL strugling during high load

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