Commit 38de5aad authored by Bruce Momjian's avatar Bruce Momjian

In documentaiton, clarify which commands have reduced WAL volume for

wal_level = minimum.

Backpatch to 9.1 and 9.0.
parent 4af43ee3
...@@ -1451,11 +1451,18 @@ SET ENABLE_SEQSCAN TO OFF; ...@@ -1451,11 +1451,18 @@ SET ENABLE_SEQSCAN TO OFF;
This parameter can only be set at server start. This parameter can only be set at server start.
</para> </para>
<para> <para>
In <literal>minimal</> level, WAL-logging of some bulk operations, like In <literal>minimal</> level, WAL-logging of some bulk
<command>CREATE INDEX</>, <command>CLUSTER</> and <command>COPY</> on operations can be safely skipped, which can make those
a table that was created or truncated in the same transaction can be operations much faster (see <xref linkend="populate-pitr">).
safely skipped, which can make those operations much faster (see Operations in which this optimization can be applied include:
<xref linkend="populate-pitr">). But minimal WAL does not contain <simplelist>
<item>CREATE TABLE AS</item>
<item>CREATE INDEX</item>
<item>CLUSTER</item>
<item>COPY into tables that were created or truncated in the same
transaction
</simplelist>
But minimal WAL does not contain
enough information to reconstruct the data from a base backup and the enough information to reconstruct the data from a base backup and the
WAL logs, so either <literal>archive</> or <literal>hot_standby</> WAL logs, so either <literal>archive</> or <literal>hot_standby</>
level must be used to enable level must be used to enable
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment