Skip to content

Commit 6c5ced1

Browse files
committed
doc: list unlogged tables as a non-durable option
1 parent 5db55c6 commit 6c5ced1

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

doc/src/sgml/perform.sgml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1572,6 +1572,15 @@ SELECT * FROM x, y, a, b, c WHERE something AND somethingelse;
15721572
</para>
15731573
</listitem>
15741574

1575+
<listitem>
1576+
<para>
1577+
Turn off <xref linkend="guc-synchronous-commit">; there might be no
1578+
need to force <acronym>WAL</acronym> writes to disk on every
1579+
commit. This setting does risk transaction loss (though not data
1580+
corruption) in case of a crash of the <emphasis>database</>.
1581+
</para>
1582+
</listitem>
1583+
15751584
<listitem>
15761585
<para>
15771586
Turn off <xref linkend="guc-full-page-writes">; there is no need
@@ -1590,12 +1599,12 @@ SELECT * FROM x, y, a, b, c WHERE something AND somethingelse;
15901599

15911600
<listitem>
15921601
<para>
1593-
Turn off <xref linkend="guc-synchronous-commit">; there might be no
1594-
need to write the <acronym>WAL</acronym> to disk on every
1595-
commit. This setting does risk transaction loss (though not data
1596-
corruption) in case of a crash of the <emphasis>database</> alone.
1602+
Create <link linkend="SQL-CREATETABLE-UNLOGGED">unlogged
1603+
tables</link> to avoid <acronym>WAL</acronym> writes, though it
1604+
makes the tables non-crash-safe.
15971605
</para>
15981606
</listitem>
1607+
15991608
</itemizedlist>
16001609
</para>
16011610
</sect1>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy