dbTalk Databases Forums  

Using WAL

comp.databases.postgresql comp.databases.postgresql


Discuss Using WAL in the comp.databases.postgresql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Cedrick
 
Posts: n/a

Default Using WAL - 07-20-2007 , 08:47 AM






Hi,

I'd like to have your opinions, your advices about using WAL and NFS server.

I moved pg_xlog/ directory to a NFS server and created a link to it in
$PGDATA.

Thanks

Ced.



Reply With Quote
  #2  
Old   
analogue
 
Posts: n/a

Default Re: Using WAL - 07-23-2007 , 07:21 AM






Cedrick a écrit :
Quote:
I'd like to have your opinions, your advices about using WAL and NFS
server.

I moved pg_xlog/ directory to a NFS server and created a link to it in
$PGDATA.
Why don't you put pg_xlog on a fast local drive, and move the old WALs
on NFS using the archive_command option ?


Reply With Quote
  #3  
Old   
Laurenz Albe
 
Posts: n/a

Default Re: Using WAL - 07-24-2007 , 07:40 AM



Cedrick <cbuschini (AT) carax (DOT) com> wrote:
Quote:
I'd like to have your opinions, your advices about using WAL and NFS server.

I moved pg_xlog/ directory to a NFS server and created a link to it in
$PGDATA.
I think that this is a bad idea, because:

a) it will slow down your database considerably since WALs have much I/O.
b) it will cause your database server to crash or hang indefinitely if
there is a network problem.

What is the type of failure you want to combat?

Yours,
Laurenz Albe


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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.