Search Postgresql Archives

Re: Moving pg_xlog

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

 



2016-12-02 17:10 GMT+13:00 Michael Paquier <michael.paquier@xxxxxxxxx>:

On Fri, Dec 2, 2016 at 1:04 PM, Melvin Davidson <melvin6925@xxxxxxxxx> wrote:
>  Well, while the location of pg_xlog is not currently configurable, on Linux system the way to do it is  to:
>  1. stop PostgreSQL
>  2. move the pg_xlog directory to a separate partition
>  3. create a symbolic link to point to the new partition
>  4. restart PostgreSQL

It’s also worth mentioning that the xlog directory can be specified at cluster creation time using ‘initdb -X <directory>’, which (AFAICT) just creates the symlink for you.

 

Steve.

 

 

Dr. Steven Winfield

Scientist

D: +44 (0)1223 755 776

 

Cantab email sig

 

 


[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