Re: Insert are going slower ... - Mailing list pgsql-performance

From Shridhar Daithankar
Subject Re: Insert are going slower ...
Date
Msg-id 40F62284.3090004@frodo.hserus.net
Whole thread Raw
In response to Re: Insert are going slower ...  (Hervé Piedvache <footcow@noos.fr>)
Responses Re: Insert are going slower ...
List pgsql-performance
Hervé Piedvache wrote:

> Josh,
>
> Le mercredi 14 Juillet 2004 18:28, Josh Berkus a écrit :
>
>>>checkpoint_segments = 3
>>
>>You should probably increase this if you have the disk space.  For massive
>>insert operations, I've found it useful to have as much as 128 segments
>>(although this means about 1.5GB disk space)
>
>
> Other point I have also read this :
> "NOTE: Since 7.2, turning fsync off does NOT stop WAL. It does stop
> checkpointing."
>
> So ... still true for 7.4.3 ??? So I'm with fsync = off so the value of
> checkpoint_segments have no interest ??
>
> Thanks for your help...

I suggest you check this first. Check the performance tuning guide..

http://www.varlena.com/varlena/GeneralBits/Tidbits/index.php

That is a starters. As Josh suggested, increase checkpoint segments if you have
disk space. Correspondingly WAL disk space requirements go up as well.

HTH

  Shridhar


pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: Odd sorting behaviour
Next
From: "Steinar H. Gunderson"
Date:
Subject: Re: Odd sorting behaviour