From: Joshua D. Drake <jd@commandprompt.com>
To: robert@interactive.co.uk
To: pgsql-docs@postgresql.org
Subject: Re: Needs discussion of pg_xlog
Date: Thu, 1 Dec 2016 08:56:20 -0800
Message-ID: <5414c450-db82-8169-d5cf-f33339d0944c@commandprompt.com> (raw)
In-Reply-To: <20161201150006.4377.8523@wrigleys.postgresql.org>
References: <20161201150006.4377.8523@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-docs>
On 12/01/2016 07:00 AM, robert@interactive.co.uk wrote:
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/9.4/static/runtime-config-file-locations.html
> Description:
>
> In various places (e.g. stackoverflow), I've seen people suggest having
> pg_xlog ion a different disk (i.e. not in /var/lib/pgsql/9.X/data).
>
> The only mention of this that I've seen is in Section 29.5 (WAL Internals),
> and that just says "it is advantageous...", with no explanation.
>
> If this IS a good idea, then "Server Configuration / File Locations" is
> where it should be discussed: in particular, why is it a good idea, and how
> does it affect backups (and in particular base backups to a standby server).
The reason it can be advantageous is that pg_xlog has a different write
profile that $PGDATA. The WAL is written sequentially versus randomly.
JD
>
--
Command Prompt, Inc. http://the.postgres.company/
+1-503-667-4564
PostgreSQL Centered full stack support, consulting and development.
Everyone appreciates your honesty, until you are honest with them.
Unless otherwise stated, opinions are my own.
--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: jd@commandprompt.com, robert@interactive.co.uk
Subject: Re: Needs discussion of pg_xlog
In-Reply-To: <5414c450-db82-8169-d5cf-f33339d0944c@commandprompt.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox