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

Re: checkpoint segments

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Undisclosed(dot)Recipients: ;
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: checkpoint segments
Date: 2005-05-16 16:17:20
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance

> > 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.
> Hmm?  I disagree -- it will only make things worse when the checkpoint
> does occur.

Unless you allocate enough logs that you don't need to checkpoint until the 
load is over with.   In multiple data tests involving large quantities of 
data loading, increasing the number of checkpoints and the checkpoint 
interval has been an overall benefit to overall load speed.   It's possible 
that the checkpoints which do occur are worse, but they're not enough worse 
to counterbalance their infrequency.

I have not yet been able to do a full scalability series on bgwriter.

Josh Berkus
Aglio Database Solutions
San Francisco

In response to

pgsql-performance by date

Next:From: Tom LaneDate: 2005-05-17 17:47:23
Subject: Re: Trigger performance problem
Previous:From: Manuel WengerDate: 2005-05-16 13:06:49
Subject: Trigger performance problem

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