Does CLUSTER generate WAL data?

From: Craig James <cjames(at)emolecules(dot)com>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Does CLUSTER generate WAL data?
Date: 2016-08-24 23:06:34
Message-ID: CAFwQ8reeHN+Cvy9TboYpthvGb+MwTRq_0Drg4KM==qP_hztXvw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I know the CLUSTER command essentially creates a new table, copies the data
in INDEX order, then deletes the original table.

Does that mean all of the data passes through the WAL logs, or is it purely
an internal operation? More specifically, if we're doing streaming
replication, will all of the data for the table being clustered be
transmitted across the network to the hot-standby slave?

Thanks,
Craig

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message David G. Johnston 2016-08-24 23:49:24 Re: Does CLUSTER generate WAL data?
Previous Message koffi BADOH 2016-08-24 16:55:01 tools to centralize postgreSQL account management