Re: Changing WAL Directory in Postgres

From: Filip Rembiałkowski <filip(dot)rembialkowski(at)gmail(dot)com>
To: Adarsh Sharma <adarsh(dot)sharma(at)orkash(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Changing WAL Directory in Postgres
Date: 2010-12-15 13:23:16
Message-ID: AANLkTi=Z3qeoyOk178KT_ZQDmR2aGVEkmVoQJ93qnvHk@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

in short:

sudo su - postgres
pg_ctl stop -m fast
cd $PGDATA
mv pg_xlog /another/device
ln -s /another/device/pg_xlog .
pg_ctl start

2010/12/15 Adarsh Sharma <adarsh(dot)sharma(at)orkash(dot)com>

> Hi all,
>
> From the last 2 days I am researching on Performance Tuning in Postgres.
>
> For this , I have to change my WAL directory to other disk than the data
> directory. But I am not able to find the correct way to do this.
>
> Please be kind to advice.
>
>
> Thanks & Regards
>
> Adarsh Sharma
>
> --
> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jacqui Caren-home 2010-12-15 13:24:45 Re: Understanding Schema's
Previous Message Peter Geoghegan 2010-12-15 11:40:39 Re: Linux: PAE or x64