pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Vivek Khera <khera@kcilink.com>
To: pgsql-performance@postgresql.org
Subject: Re: syslog slowing the database?
Date: Wed, 10 Mar 2004 16:00:36 -0500
Message-ID: <x78yi876yz.fsf@yertle.int.kciLink.com> (raw)
References: <404E2937.4060604@cranel.com>

>>>>> "GS" == Greg Spiegelberg <gspiegelberg@cranel.com> writes:

GS> I've been waiting all day for a pg_restore to finish on a test system
GS> identically configured as our production in hardware and software
GS> with the exception prod is 7.3.5 and test is 7.4.1.

GS> The file it's restoring from is about 8GB uncompressed from a
GS> "pg_dump -b -F t" and after 2 hours the directory the database is in
GS> contains only 1GB.  iostat reported ~2000 blocks written every 2
GS> seconds to the DB file system.

Have you considered increasing the value of checkpoint_segments to
something like 50 or 100 during your restore? It made a *dramatic*
improvement on my system when I did the same migration.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: khera@kciLink.com       Rockville, MD  +1-301-869-4449 x806
AIM: vivekkhera Y!: vivek_khera   http://www.khera.org/~vivek/



view thread (19+ messages)  latest in thread

Message-ID: <x78yi876yz.fsf@yertle.int.kciLink.com>
Permalink:  ../x78yi876yz.fsf@yertle.int.kciLink.com/
Also on:    postgresql.org/message-id/x78yi876yz.fsf@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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: khera@kcilink.com
  Subject: Re: syslog slowing the database?
  In-Reply-To: <x78yi876yz.fsf@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