Skip to content

Commit 4d07046

Browse files
committed
1 parent 8272749 commit 4d07046

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

doc/src/sgml/monitoring.sgml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5510,6 +5510,17 @@ SELECT pid, wait_event_type, wait_event FROM pg_stat_activity WHERE wait_event i
55105510
</tgroup>
55115511
</table>
55125512

5513+
<warning>
5514+
<para>
5515+
Using <function>pg_stat_reset()</function> also resets counters that
5516+
autovacuum uses to determine when to trigger a vacuum or an analyze.
5517+
Resetting these counters can cause autovacuum to not perform necessary
5518+
work, which can cause problems such as table bloat or out-dated
5519+
table statistics. A database-wide <command>ANALYZE</command> is
5520+
recommended after the statistics have been reset.
5521+
</para>
5522+
</warning>
5523+
55135524
<para>
55145525
<function>pg_stat_get_activity</function>, the underlying function of
55155526
the <structname>pg_stat_activity</structname> view, returns a set of records

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