Unix Technical Forum

WAL

This is a discussion on WAL within the pgsql Admins forums, part of the PostgreSQL category; --> Greetings, Turning of fsync does not mean turn off WAL as well? So why does the xlog files (pg_xlog) ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Admins

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 01:45 AM
Dextra - Gustavo Bartz Guedes
 
Posts: n/a
Default WAL

Greetings,
Turning of fsync does not mean turn off WAL as well? So why does the
xlog files (pg_xlog) still being recycled?

I'm using postgresql 8.0.2.

Thanks.

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-10-2008, 01:45 AM
Bruce Momjian
 
Posts: n/a
Default Re: WAL

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

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:41 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com