Re: What is WAL used for? - Mailing list pgsql-general

From Bruce Momjian
Subject Re: What is WAL used for?
Date
Msg-id 200312012117.hB1LHT520496@candle.pha.pa.us
Whole thread Raw
In response to Re: What is WAL used for?  (Jonathan Bartlett <johnnyb@eskimo.com>)
List pgsql-general
Jonathan Bartlett wrote:
> > WAL with ext3's data journaling is quite unnecessary because the WAL
> > sort of IS the database's journal.
>
> I believe you are mistaken.  ext3 data journalling only does the
> filesystem.  It has no concept of the structure of the database itself.
> WAL is still necessary to keep consistency on the table itself.

What he means is that PostgreSQL doesn't need the file contents restore
pristine on crash recovery, just the directory structure and WAL can
recreate the file contents.

--
  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

pgsql-general by date:

Previous
From: Jan Wieck
Date:
Subject: Re: PostgreSQL, MySQL, etc., was Re: PostgreSQL is much
Next
From: Alvaro Herrera
Date:
Subject: Re: Good open source mailing list system PHP / Postgresql