pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Arshavir Grigorian <ag@m-cam.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Postgres on RAID5
Date: Fri, 11 Mar 2005 17:07:35 -0500
Message-ID: <5669.1110578855@sss.pgh.pa.us> (raw)
In-Reply-To: <423209E1.6090200@m-cam.com>
References: <423209E1.6090200@m-cam.com>

Arshavir Grigorian <ag@m-cam.com> writes:
> I have a RAID5 array (mdadm) with 14 disks + 1 spare. This partition has
> an Ext3 filesystem which is used by Postgres. Currently we are loading a
> 50G database on this server from a Postgres dump (copy, not insert) and
> are experiencing very slow write performance (35 records per second).

What PG version is this?  What version of pg_dump made the dump file?
How are you measuring that write rate (seeing that pg_restore doesn't
provide any such info)?

> Postgres is installed from the Debian package and uses
> all the configuration defaults.

The defaults are made for a fairly small machine, not big iron.  At a
minimum you want to kick shared_buffers up to 10K or more.

			regards, tom lane



view thread (26+ messages)  latest in thread

Message-ID: <5669.1110578855@sss.pgh.pa.us>
Permalink:  ../5669.1110578855@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5669.1110578855@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, ag@m-cam.com
  Subject: Re: Postgres on RAID5
  In-Reply-To: <5669.1110578855@sss.pgh.pa.us>

* 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