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: 200505160917.20367.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Alvaro,

> > 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

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2005-05-17 17:47:23 Re: Trigger performance problem
Previous Message Manuel Wenger 2005-05-16 13:06:49 Trigger performance problem