Re: FreeBSD Softupdates??

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Neil Conway <nconway(at)klamath(dot)dyndns(dot)org>
Cc: PostgreSQL General List <pgsql-general(at)postgresql(dot)org>
Subject: Re: FreeBSD Softupdates??
Date: 2000-09-26 14:07:01
Message-ID: 200009261407.KAA29919@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

-- Start of PGP signed section.
> On Tue, Sep 26, 2000 at 03:20:31AM -0700, Alfred Perlstein wrote:
> > It can cause problems because softupdates makes meta data changes
> > (in this case file creation/removal) asyncronously, the same actually
> > happens with most other logging filesystems that don't support
> > transactions.
>
> I've been running FreeBSD 4.1 with soft updates on my development box
> for a while now without any problems at all. Although it's not
> production so there's not a lot of load on PgSQL.
>
> I don't know if it hurts or hampers performance.

Good question. I can see soft updates improving performance because it
flushes meta-data writes all at once, rather than each time a file is
created/destroyed. I don't see any downside for PostgreSQL. The
default fsync() will still work, or at least it should. This is not the
same as mounting a volume as async.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2000-09-26 14:29:00 Re: problem creating template database
Previous Message Richard Kuhnke 2000-09-26 13:56:13 problem creating template database