pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: list@1006.org
Cc: pgsql-performance@postgresql.org
Subject: Re: data=writeback
Date: Thu, 8 Apr 2004 10:52:33 -0400 (EDT)
Message-ID: <200404081452.i38EqXV20923@candle.pha.pa.us> (raw)
In-Reply-To: <49386.82.48.55.72.1081429266.squirrel@www.endian.it>

list@1006.org wrote:
> > When I give "mount" at the command line, everything looks just fine :
> >
> > /dev/sda2 on / type ext3 (rw,noatime,data=ordered)
> > none on /proc type proc (rw)
> > usbdevfs on /proc/bus/usb type usbdevfs (rw)
> > /dev/sda1 on /boot type ext3 (rw,noatime,data=ordered)
> > none on /dev/pts type devpts (rw,gid=5,mode=620)
> > none on /dev/shm type tmpfs (rw)
> > /dev/sdb1 on /usr/local/pgsql type ext3 (rw,noatime,data=writeback)
> > /dev/sda3 on /usr/local/pgsql/wal type ext3 (rw,noatime,data=ordered)
> >
> > It looks like the labels are not really used, just the mount-points. Or
> > could this cause other problems I am not aware of? Everything seems to
> > be working just fine, for several months now...
> 
> Probably /dev/sdb1 and /dev/sda3 have the same labels and mount
> simply mounts them in a consistent way according to some logic
> we're not aware of.
> 
> I'd say: if it works don't touch it ;)
> 
> What remains unresolved is the question whether data=writeback is ok
> or not. We'll see if somebody has more information on that one...

Should be fine.  We don't continue until fsync() writes all the data. 
We don't care what order it is written in, just that is all written
before we continue.

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



view thread (7+ messages)

Message-ID: <200404081452.i38EqXV20923@candle.pha.pa.us>
Permalink:  ../200404081452.i38EqXV20923@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200404081452.i38EqXV20923@candle.pha.pa.us

 · 

reply

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: pgman@candle.pha.pa.us, list@1006.org
  Subject: Re: data=writeback
  In-Reply-To: <200404081452.i38EqXV20923@candle.pha.pa.us>
  References: <49386.82.48.55.72.1081429266.squirrel@www.endian.it> <200404081452.i38EqXV20923@candle.pha.pa.us>

* 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