Re: WAL - Mailing list pgsql-admin

From Bruce Momjian
Subject Re: WAL
Date
Msg-id 200504251737.j3PHboA22494@candle.pha.pa.us
Whole thread Raw
In response to WAL  (Dextra - Gustavo Bartz Guedes <gustavo-bartz@dextra.com.br>)
List pgsql-admin
Dextra - Gustavo Bartz Guedes wrote:
> Greetings,
> Turning of fsync does not mean turn off WAL as well? So why does the
> xlog files (pg_xlog) still being recycled?

No, fsync only is used for server crashes.  WAL is still used to recover
from database crashes when the operating system keeps running.  We write
to WAL on commit but not to the file system on commit, and WAL cleans
that up.

--
  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-admin by date:

Previous
From: Dextra - Gustavo Bartz Guedes
Date:
Subject: WAL
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] PostgreSQL pam ldap document