pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vivek Khera <khera@kcilink.com>
To: Robert Treat <xzilla@users.sourceforge.net>
Cc: pgsql-performance@postgresql.org
Subject: Re: restore time: sort_mem vs. checkpoing_segments
Date: Wed, 17 Sep 2003 16:21:46 -0400
Message-ID: <16232.49754.420785.943263@yertle.int.kciLink.com> (raw)
In-Reply-To: <1063829746.25694.91.camel@camel>
References: <16230.4066.565194.387700@yertle.int.kciLink.com>
	<1063829746.25694.91.camel@camel>

>>>>> "RT" == Robert Treat <xzilla@users.sourceforge.net> writes:

RT> hmm... i wonder what would happen if you pushed your sort_mem higher...
RT> on some of our development boxes and upgrade scripts, i push the
RT> sort_mem to 102400 and sometimes even higher depending on the box. this
RT> really speeds up my restores quit a bit (and is generally safe as i make
RT> sure there isn't any other activity going on at the time)

Ok... just two more tests to run, no big deal ;-)


RT> another thing i like to do is turn of fsync, as if the system crashes in
RT> the middle of reload i'm pretty sure i'd be starting all over anyway...

I'll test it and see what happens.  I suspect not a big improvement on
a hardware RAID card with 128Mb backed up cache, though.  But never
say never!



view thread (10+ messages)  latest in thread

Message-ID: <16232.49754.420785.943263@yertle.int.kciLink.com>
Permalink:  ../16232.49754.420785.943263@yertle.int.kciLink.com/
Also on:    postgresql.org/message-id/16232.49754.420785.943263@yertle.int.kciLink.com

 · 

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: khera@kcilink.com, xzilla@users.sourceforge.net
  Subject: Re: restore time: sort_mem vs. checkpoing_segments
  In-Reply-To: <16232.49754.420785.943263@yertle.int.kciLink.com>
  References: <16230.4066.565194.387700@yertle.int.kciLink.com> <1063829746.25694.91.camel@camel> <16232.49754.420785.943263@yertle.int.kciLink.com>

* 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