Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3d8e3d1

Browse files
author
Commitfest Bot
committed
[CF 5691] v4 - update documentation for when aborted and committed rows are tracked in pg_stat_all_tables
This branch was automatically generated by a robot using patches from an email thread registered at: https://commitfest.postgresql.org/patch/5691 The branch will be overwritten each time a new patch version is posted to the thread, and also periodically to check for bitrot caused by changes on the master branch. Patch(es): https://www.postgresql.org/message-id/CAA5RZ0v1V8OzsW+WfQP70gYeV1UT4wbtaUQLZegNPA3riH_rzA@mail.gmail.com Author(s): Sami Imseih
2 parents 03c53a7 + 85260f8 commit 3d8e3d1

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

doc/src/sgml/monitoring.sgml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,10 @@ postgres 27093 0.0 0.0 30096 2752 ? Ss 11:34 0:00 postgres: ser
283283
stated above; instead they update continuously throughout the transaction.
284284
</para>
285285

286+
<para>
287+
An aborted transaction will also increment tuple-related counters, unless otherwise noted.
288+
</para>
289+
286290
<para>
287291
Some of the information in the dynamic statistics views shown in <xref
288292
linkend="monitoring-stats-dynamic-views-table"/> is security restricted.
@@ -3952,7 +3956,8 @@ description | Waiting for a newly initialized WAL file to reach durable storage
39523956
<structfield>n_live_tup</structfield> <type>bigint</type>
39533957
</para>
39543958
<para>
3955-
Estimated number of live rows
3959+
Estimated number of live rows (updated by committed transactions, or by
3960+
<command>VACUUM</command> and <command>VACUUM FULL</command>)
39563961
</para></entry>
39573962
</row>
39583963

@@ -3961,7 +3966,8 @@ description | Waiting for a newly initialized WAL file to reach durable storage
39613966
<structfield>n_dead_tup</structfield> <type>bigint</type>
39623967
</para>
39633968
<para>
3964-
Estimated number of dead rows
3969+
Estimated number of dead rows (updated either by committed or aborted
3970+
transactions, or by <command>VACUUM</command> and <command>VACUUM FULL</command>)
39653971
</para></entry>
39663972
</row>
39673973

@@ -3970,7 +3976,8 @@ description | Waiting for a newly initialized WAL file to reach durable storage
39703976
<structfield>n_mod_since_analyze</structfield> <type>bigint</type>
39713977
</para>
39723978
<para>
3973-
Estimated number of rows modified since this table was last analyzed
3979+
Estimated number of rows modified (by committed transactions) since this table
3980+
was last analyzed
39743981
</para></entry>
39753982
</row>
39763983

0 commit comments

Comments
 (0)