Re: ProstGreSQL on RAID Question

From: Chris Ruprecht <chrup(at)earthlink(dot)net>
To: Curt Sampson <cjs(at)cynic(dot)net>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: ProstGreSQL on RAID Question
Date: 2002-08-17 01:31:10
Message-ID: 200208162131.10504.chrup@earthlink.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Mario Henley Becerril Geldis 2002-08-17 01:36:36 Attribute 'name' not found
Previous Message Alberto González 2002-08-16 21:32:55 Problems with pg_dump