Re: Moving pg_xlog

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Melvin Davidson <melvin6925(at)gmail(dot)com>
Cc: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, Robert Inder <robert(at)interactive(dot)co(dot)uk>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Moving pg_xlog
Date: 2016-12-02 04:10:03
Message-ID: CAB7nPqR0SFKpztCUKNYmbhedWtYbm-VttvsRNdKsPK8cFbi3_Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Dec 2, 2016 at 1:04 PM, Melvin Davidson <melvin6925(at)gmail(dot)com> 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

Similar flow on Windows, just use a junction point for the link.
--
Michael

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Lucas Possamai 2016-12-02 06:51:08 Re: Moving pg_xlog
Previous Message Melvin Davidson 2016-12-02 04:04:32 Re: Moving pg_xlog