Thread: Changing WAL Directory in Postgres
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
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.
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