From: Chris Ruprecht <chrup@earthlink.net>
To: Curt Sampson <cjs@cynic.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: ProstGreSQL on RAID Question
Date: Fri, 16 Aug 2002 21:31:10 -0400
Message-ID: <200208162131.10504.chrup@earthlink.net> (raw)
In-Reply-To: <Pine.NEB.4.44.0208121228540.2317-100000@angelic.cynic.net>
References: <Pine.NEB.4.44.0208121228540.2317-100000@angelic.cynic.net>
Thanks Curt - yes, I have the log files on a different drive all together.
I was thinking more along the lines of OS block size (4 KB) vs. Postgres block
size (8 KB by default) vs. RAID block size (32 KB). Is there anything I
should change?
I would like to experiment but a 20 GB DB takes some time to backup and
restore, so I'd like to tap into other's experiences.
Best regards,
Chris
On Sun August 11 2002 23:30, you wrote:
> On Mon, 12 Aug 2002, Chris Ruprecht wrote:
> > I have set up a RAID-5 (soft RAID) arrray on my Linux machine,
> > consisting of 5 18 GB UltraSCSI-2 (80 MB/sec) drives. Everythinng is
> > working but I would like to know, where I can tweak this for optimum
> > performance.
>
> If you do a lot of inserts, move the log file ($PGDATA/pg_xlog)
> off the RAID-5 and on to a separate RAID-1 (mirrored) pair. This will
> separate the buffered random writes to the data files and the unbuffered,
> sequential writes to the log.
>
> cjs
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-admin@postgresql.org
Cc: chrup@earthlink.net, cjs@cynic.net
Subject: Re: ProstGreSQL on RAID Question
In-Reply-To: <200208162131.10504.chrup@earthlink.net>
References: <Pine.NEB.4.44.0208121228540.2317-100000@angelic.cynic.net> <200208162131.10504.chrup@earthlink.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