On Thu, Nov 10, 2005 at 09:52:38AM -0600, Scott Marlowe wrote:
Not from what I understood.  Ext2 can't guarantee that your data will
even be there in any form after a crash.

It can if you sync the data. (Which is the whole point of the WAL.)

I believe only metadata journaling is needed though.

If you don't sync, metadata journaling doesn't do anything to guarantee
that your data will be there, so you're adding no data security in the
non-synchronous-write case. (Which is irrelevant for the WAL.)
What metadata journalling gets you is fast recovery from crashes by
avoiding a fsck. The fsck time is related to the number of files on a
filesystem--so it's generally pretty quick on a WAL partition anyway.

Mike Stone

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Reply via email to