pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shridhar Daithankar <shridhar@frodo.hserus.net>
To: Hervé Piedvache <footcow@noos.fr>
Cc: pgsql-performance@postgresql.org
Subject: Re: Insert are going slower ...
Date: Thu, 15 Jul 2004 11:51:56 +0530
Message-ID: <40F62284.3090004@frodo.hserus.net> (raw)
In-Reply-To: <200407142332.05161.footcow@noos.fr>
References: <200407131850.52095.herve@elma.fr>
	<200407140142.11720.footcow@noos.fr>
	<200407140928.29498.josh@agliodbs.com>
	<200407142332.05161.footcow@noos.fr>

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




view thread (17+ messages)  latest in thread

Message-ID: <40F62284.3090004@frodo.hserus.net>
Permalink:  ../40F62284.3090004@frodo.hserus.net/
Also on:    postgresql.org/message-id/40F62284.3090004@frodo.hserus.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: shridhar@frodo.hserus.net, footcow@noos.fr
  Subject: Re: Insert are going slower ...
  In-Reply-To: <40F62284.3090004@frodo.hserus.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox