Content-Length: 301276 | pFad | http://github.com/postgrespro/postgres/commit/d69c404c4cc5985d8ae5b5ed38bed3400b317f82

EA doc: Add description of some missing monitoring functions · postgrespro/postgres@d69c404 · GitHub
Skip to content

Commit d69c404

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 in ddfc2d9, later simplified by 5f2b089, assuming that all the functions whose descriptions were removed are used in system views. Unfortunately, some of them were are not used in any system views, so they lacked documentation. This gap exists in the docs for a long time, so backpatch all the way down. Reported-by: Michael Paquier Author: Bertrand Drouvot Reviewed-by: Kyotaro Horiguchi Discussion: https://postgr.es/m/ZBeeH5UoNkTPrwHO@paquier.xyz Backpatch-through: 11
1 parent 88199b9 commit d69c404

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
@@ -5697,6 +5697,34 @@ SELECT pid, wait_event_type, wait_event FROM pg_stat_activity WHERE wait_event i
56975697
</para></entry>
56985698
</row>
56995699

5700+
<row>
5701+
<entry role="func_table_entry"><para role="func_signature">
5702+
<indexterm>
5703+
<primary>pg_stat_get_xact_blocks_fetched</primary>
5704+
</indexterm>
5705+
<function>pg_stat_get_xact_blocks_fetched</function> ( <type>oid</type> )
5706+
<returnvalue>bigint</returnvalue>
5707+
</para>
5708+
<para>
5709+
Returns the number of buffers fetched for table or index, in the current
5710+
transaction.
5711+
</para></entry>
5712+
</row>
5713+
5714+
<row>
5715+
<entry role="func_table_entry"><para role="func_signature">
5716+
<indexterm>
5717+
<primary>pg_stat_get_xact_blocks_hit</primary>
5718+
</indexterm>
5719+
<function>pg_stat_get_xact_blocks_hit</function> ( <type>oid</type> )
5720+
<returnvalue>bigint</returnvalue>
5721+
</para>
5722+
<para>
5723+
Returns the number of buffer hits for table or index, in the current
5724+
transaction.
5725+
</para></entry>
5726+
</row>
5727+
57005728
<row>
57015729
<entry role="func_table_entry"><para role="func_signature">
57025730
<indexterm>

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/d69c404c4cc5985d8ae5b5ed38bed3400b317f82

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy