Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6c5ced1

Browse files
committed
doc: list unlogged tables as a non-durable option
1 parent5db55c6 commit6c5ced1

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)

[8]ページ先頭

©2009-2025 Movatter.jp