Thread: Changing WAL Directory in Postgres

Changing WAL Directory in Postgres

From
Adarsh Sharma
Date:
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

Re: Changing WAL Directory in Postgres

From
John R Pierce
Date:
On 12/14/10 10:49 PM, Adarsh Sharma wrote:
> 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.


instead, I would create the databases on another tablespace on a
different volume.







Re: Changing WAL Directory in Postgres

From
Filip Rembiałkowski
Date:

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.sharma@orkash.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@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general