1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-28 05:21:27 +03:00

Doc: improve v13 release note item about autovacuum and INSERTs.

The previous text was confusing, per off-list discussion with
Bruce Momjian.
This commit is contained in:
Tom Lane 2020-09-21 13:30:18 -04:00
parent e62c5ea22c
commit 4406364e2b

View File

@ -762,16 +762,28 @@ Author: David Rowley <drowley@postgresql.org>
--> -->
<para> <para>
Allow inserts, not only updates and deletes, to Allow inserts, not only updates and deletes, to trigger vacuuming
trigger <link linkend="autovacuum">autovacuum</link> activity activity in <link linkend="autovacuum">autovacuum</link>
(Laurenz Albe, Darafei Praliaskouski) (Laurenz Albe, Darafei Praliaskouski)
</para> </para>
<para> <para>
This new behavior reduces the work that will be necessary later Previously, insert-only activity would trigger auto-analyze but
when the table needs to be frozen, and it allows pages to be not auto-vacuum, on the grounds that there could not be any dead
marked as all-visible sooner. All-visible pages allow index-only tuples to remove. However, a vacuum scan has other useful
scans to access fewer heap rows. side-effects such as setting page-all-visible bits, which improves
the efficiency of index-only scans. Also, allowing an insert-only
table to receive periodic vacuuming helps to spread out the work
of <quote>freezing</quote> old tuples, so that there is not
suddenly a large amount of freezing work to do when the entire
table reaches the anti-wraparound threshold all at once.
</para>
<para>
If necessary, this behavior can be adjusted with the new
parameters <xref linkend="guc-autovacuum-vacuum-insert-threshold"/>
and <xref linkend="guc-autovacuum-vacuum-insert-scale-factor"/>, or
the equivalent table storage options.
</para> </para>
</listitem> </listitem>
@ -782,8 +794,8 @@ Author: Thomas Munro <tmunro@postgresql.org>
--> -->
<para> <para>
Add <xref linkend="guc-maintenance-io-concurrency"/> to control I/O Add <xref linkend="guc-maintenance-io-concurrency"/> parameter to
concurrency for maintenance operations (Thomas Munro) control I/O concurrency for maintenance operations (Thomas Munro)
</para> </para>
</listitem> </listitem>