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

Commit488ace3

Browse files
committed
doc: Add description of some missing monitoring functions
This commit adds some documentation about two monitoring functions:- pg_stat_get_xact_blocks_fetched()- pg_stat_get_xact_blocks_hit()The description of these functions has been removed inddfc2d9, latersimplified by5f2b089, assuming that all the functions whosedescriptions were removed are used in system views. Unfortunately, someof them were are not used in any system views, so they lackeddocumentation.This gap exists in the docs for a long time, so backpatch all the waydown.Reported-by: Michael PaquierAuthor: Bertrand DrouvotReviewed-by: Kyotaro HoriguchiDiscussion:https://postgr.es/m/ZBeeH5UoNkTPrwHO@paquier.xyzBackpatch-through: 11
1 parentfc63e6b commit488ace3

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

‎doc/src/sgml/monitoring.sgml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3291,6 +3291,24 @@ SELECT pid, wait_event_type, wait_event FROM pg_stat_activity WHERE wait_event i
32913291
Discard the current statistics snapshot
32923292
</entry>
32933293
</row>
3294+
3295+
<row>
3296+
<entry><literal><function>pg_stat_get_xact_blocks_fetched</function>(oid)</literal><indexterm><primary>pg_stat_get_xact_blocks_fetched</primary></indexterm></entry>
3297+
<entry><type>bigint</type></entry>
3298+
<entry>
3299+
Returns the number of buffers fetched for table or index, in the current
3300+
transaction.
3301+
</entry>
3302+
</row>
3303+
3304+
<row>
3305+
<entry><literal><function>pg_stat_get_xact_blocks_hit</function>(oid)</literal><indexterm><primary>pg_stat_get_xact_blocks_hit</primary></indexterm></entry>
3306+
<entry><type>bigint</type></entry>
3307+
<entry>
3308+
Returns the number of buffer hits for table or index, in the current
3309+
transaction.
3310+
</entry>
3311+
</row>
32943312

32953313
<row>
32963314
<entry><literal><function>pg_stat_reset()</function></literal><indexterm><primary>pg_stat_reset</primary></indexterm></entry>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp