Re: WAL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux