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

Commit3ba8bce

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 parent65ead76 commit3ba8bce

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

‎doc/src/sgml/monitoring.sgml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5038,6 +5038,34 @@ SELECT pid, wait_event_type, wait_event FROM pg_stat_activity WHERE wait_event i
50385038
</para></entry>
50395039
</row>
50405040

5041+
<row>
5042+
<entry role="func_table_entry"><para role="func_signature">
5043+
<indexterm>
5044+
<primary>pg_stat_get_xact_blocks_fetched</primary>
5045+
</indexterm>
5046+
<function>pg_stat_get_xact_blocks_fetched</function> ( <type>oid</type> )
5047+
<returnvalue>bigint</returnvalue>
5048+
</para>
5049+
<para>
5050+
Returns the number of buffers fetched for table or index, in the current
5051+
transaction.
5052+
</para></entry>
5053+
</row>
5054+
5055+
<row>
5056+
<entry role="func_table_entry"><para role="func_signature">
5057+
<indexterm>
5058+
<primary>pg_stat_get_xact_blocks_hit</primary>
5059+
</indexterm>
5060+
<function>pg_stat_get_xact_blocks_hit</function> ( <type>oid</type> )
5061+
<returnvalue>bigint</returnvalue>
5062+
</para>
5063+
<para>
5064+
Returns the number of buffer hits for table or index, in the current
5065+
transaction.
5066+
</para></entry>
5067+
</row>
5068+
50415069
<row>
50425070
<entry role="func_table_entry"><para role="func_signature">
50435071
<indexterm>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp