pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Ribe <scott_ribe@elevated-dev.com>
To: Craig James <cjames@emolecules.com>
Cc: David G. Johnston <david.g.johnston@gmail.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Does CLUSTER generate WAL data?
Date: Wed, 24 Aug 2016 18:14:29 -0600
Message-ID: <CD852478-540E-4C37-ADCE-CCE99F145BF9@elevated-dev.com> (raw)
In-Reply-To: <CAFwQ8rcS-eT_oNWZPOZeKbAkSFjkTvpU8NiUDK6kEWaZ5byjbA@mail.gmail.com>
References: <CAFwQ8reeHN+Cvy9TboYpthvGb+MwTRq_0Drg4KM==qP_hztXvw@mail.gmail.com>
	<CAKFQuwZ-s2s1VJwjKdTo8RygvpKSYOhthViCoN=HP7TK3FJ7tQ@mail.gmail.com>
	<CAFwQ8rcS-eT_oNWZPOZeKbAkSFjkTvpU8NiUDK6kEWaZ5byjbA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

On Aug 24, 2016, at 6:09 PM, Craig James <cjames@emolecules.com> wrote:
> 
> Right, I understand that the WAL has to record the operation. But I'm not sure that answers the question. If the contents of the WAL are, "copy this table to that table in index order", then no data from the table itself will be in the WAL. On the other hand, if the contents of the WAL are "create a new table, and then insert all of this data", then the WAL records will be huge.
> 
> Which is it?

WAL records changes at the page level, not commands; so it will be the one you don't want.

-- 
Scott Ribe
scott_ribe@elevated-dev.com
http://www.elevated-dev.com/
https://www.linkedin.com/in/scottribe/
(303) 722-0567 voice







-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (5+ messages)  latest in thread

Message-ID: <CD852478-540E-4C37-ADCE-CCE99F145BF9@elevated-dev.com>
Permalink:  ../CD852478-540E-4C37-ADCE-CCE99F145BF9@elevated-dev.com/
Also on:    postgresql.org/message-id/CD852478-540E-4C37-ADCE-CCE99F145BF9@elevated-dev.com

 · 

reply

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-admin@postgresql.org
  Cc: scott_ribe@elevated-dev.com, cjames@emolecules.com, david.g.johnston@gmail.com
  Subject: Re: Does CLUSTER generate WAL data?
  In-Reply-To: <CD852478-540E-4C37-ADCE-CCE99F145BF9@elevated-dev.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