Re: good pc but bad performance,why?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
Cc: Andrew McMillan <andrew(at)catalyst(dot)net(dot)nz>, huang yaqin <hyq(at)gthome(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: good pc but bad performance,why?
Date: 2004-04-07 22:12:38
Message-ID: 200404072212.i37MCck07003@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

scott.marlowe wrote:
> > One thing I recommend is to use ext2 (or almost anything but ext3).
> > There is no real need (or benefit) from having the database on a
> > journalled filesystem - the journalling is only trying to give similar
> > sorts of guarantees to what the fsync in PostgreSQL is doing.
>
> Is this true? I was under the impression that without at least meta-data
> journaling postgresql could still be corrupted by power failure.

It is false. ext2 isn't crash-safe, and PostgreSQL needs an intact file
system for WAL recovery.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Paul Thomas 2004-04-07 23:48:35 Re: statistics
Previous Message Jaime Casanova 2004-04-07 21:05:15 statistics