Re: Change the place of the WAL files

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Nicolas Michel <nicolas(dot)michel(at)lemail(dot)be>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Change the place of the WAL files
Date: 2009-03-25 15:33:53
Message-ID: dcc563d10903250833q5b778898s90298550b619e110@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Wed, Mar 25, 2009 at 9:25 AM, Nicolas Michel
<nicolas(dot)michel(at)lemail(dot)be> wrote:
> Ok. Thank you.
>
>
> Le mercredi 25 mars 2009 à 15:32 +0100, Guillaume Lelarge a écrit :
>
> Le mercredi 25 mars 2009 à 14:35:36, Nicolas Michel a écrit :
>> [...]
>> I already have an instance with a database. I want to move the WAL files
>> to an other hard disk to have a better speed.
>> I read that I had to create a symbolic link to do that. Is there another
>> "cleaner" way : an option in the postgres config file??
>>

Note that you need to shutdown the db, copy the files, move / remove
the pg_xlog dir, link to the new one, and restart the db. I.e. the DB
has to be shutdown while you do this. I'm sure you know this, but
better safe than sorry.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Nicolas Michel 2009-03-25 15:41:43 Re: Change the place of the WAL files
Previous Message Nicolas Michel 2009-03-25 15:25:41 Re: Change the place of the WAL files