From: Jeffrey D. Brower <jeff@pointhere.net>
To: Andreas Kostyrka <andreas@mtg.co.at>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: pgsql-performance@postgresql.org
Cc: Shankar K <shan0075@yahoo.com>
Cc: eric soroos <eric-psql@soroos.net>
Subject: Re: ext3 filesystem / linux 7.3
Date: Wed, 2 Apr 2003 12:07:57 -0500
Message-ID: <0a6f01c2f93a$6907bf50$0b02a8c0@pointhere.net> (raw)
References: <26287373.1162931668@[4.42.179.151]>
<1049296398.20242.325.camel@andi-lap>
<0a3001c2f92d$c975a490$0b02a8c0@pointhere.net>
<1049298455.21669.333.camel@andi-lap>
>> This would indicate that the PG transactioning is complimentary to the
filesystem journaling, not duplication.
>It's both. See the -o data=journal|data=ordered|data=writeback mount
>time option.
I did a RTFM on that but I am now confused again.
I am wondering what the *best* setting is with ext3. When I RTFM the man
page for mount, the data=writeback option says plainly that it is fastest
but in a crash old data is quite possibly on the dataset. The safest
*looks* to be data=journal since the journaling happens before writes are
committed to the file (and presumably the journal is used to update the file
on the disk to apply the journal entry to the disk file?) and the default is
data=ordered which says write to the disk AND THEN to the journal (which
seems bizarre to me).
How all of that works WITH and/or AGAINST PostgreSQL and what metadata
REALLY means is my bottom line quandary. Obviously that is where finding
the warm and fuzzy place between speed and safety is found.
Jeff
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-performance@postgresql.org
Cc: jeff@pointhere.net, andreas@mtg.co.at, pgman@candle.pha.pa.us, shan0075@yahoo.com, eric-psql@soroos.net
Subject: Re: ext3 filesystem / linux 7.3
In-Reply-To: <0a6f01c2f93a$6907bf50$0b02a8c0@pointhere.net>
References: <26287373.1162931668@[4.42.179.151]> <1049296398.20242.325.camel@andi-lap> <0a3001c2f92d$c975a490$0b02a8c0@pointhere.net> <1049298455.21669.333.camel@andi-lap> <0a6f01c2f93a$6907bf50$0b02a8c0@pointhere.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