Search Postgresql Archives

Re: Changing WAL Directory in Postgres

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux