pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Steve Poe <spoe@sfnet.cc>
Cc: Nurlan Mukhanov (AL/EKZ) <Nurlan.Mukhanov@ericsson.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Postgresql works too slow
Date: Mon, 18 Apr 2005 14:40:53 +0800
Message-ID: <42635675.2020309@familyhealth.com.au> (raw)
In-Reply-To: <14024.1113804695@sss.pgh.pa.us>
References: <70E6659A9338D8418379B4EC0CA5819137928D@erumomw002.eemea.ericsson.se>
	<426348BD.3040002@sfnet.cc>
	<14024.1113804695@sss.pgh.pa.us>

>>Try enabliing your checkpoint_segments. In my example, our database 
>>restore took 75mins. After enabling checkpoints_segments to 20, we cut 
>>it down to less than 30 minutes.
> 
> 
> Increasing maintenance_work_mem might help too ... or several other
> settings ... with no information about exactly *what* is slow, it's
> hard to say.

Try turning fsync = false for the duration of your reload.

Chris



view thread (6+ messages)  latest in thread

Message-ID: <42635675.2020309@familyhealth.com.au>
Permalink:  ../42635675.2020309@familyhealth.com.au/
Also on:    postgresql.org/message-id/42635675.2020309@familyhealth.com.au

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: chriskl@familyhealth.com.au, tgl@sss.pgh.pa.us, spoe@sfnet.cc, Nurlan.Mukhanov@ericsson.com
  Subject: Re: Postgresql works too slow
  In-Reply-To: <42635675.2020309@familyhealth.com.au>
  References: <70E6659A9338D8418379B4EC0CA5819137928D@erumomw002.eemea.ericsson.se> <426348BD.3040002@sfnet.cc> <14024.1113804695@sss.pgh.pa.us> <42635675.2020309@familyhealth.com.au>

* 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