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

Commit189db21

Browse files
committed
1 parent4a41a06 commit189db21

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
@@ -5475,6 +5475,17 @@ SELECT pid, wait_event_type, wait_event FROM pg_stat_activity WHERE wait_event i
54755475
</tgroup>
54765476
</table>
54775477

5478+
<warning>
5479+
<para>
5480+
Using <function>pg_stat_reset()</function> also resets counters that
5481+
autovacuum uses to determine when to trigger a vacuum or an analyze.
5482+
Resetting these counters can cause autovacuum to not perform necessary
5483+
work, which can cause problems such as table bloat or out-dated
5484+
table statistics. A database-wide <command>ANALYZE</command> is
5485+
recommended after the statistics have been reset.
5486+
</para>
5487+
</warning>
5488+
54785489
<para>
54795490
<function>pg_stat_get_activity</function>, the underlying function of
54805491
the <structname>pg_stat_activity</structname> view, returns a set of records

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp