mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-23 19:39:53 +08:00
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
, later simplified by5f2b089
, 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
This commit is contained in:
parent
3c12407f4c
commit
a70e6e4306
@ -5310,6 +5310,34 @@ SELECT pid, wait_event_type, wait_event FROM pg_stat_activity WHERE wait_event i
|
|||||||
</para></entry>
|
</para></entry>
|
||||||
</row>
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<entry role="func_table_entry"><para role="func_signature">
|
||||||
|
<indexterm>
|
||||||
|
<primary>pg_stat_get_xact_blocks_fetched</primary>
|
||||||
|
</indexterm>
|
||||||
|
<function>pg_stat_get_xact_blocks_fetched</function> ( <type>oid</type> )
|
||||||
|
<returnvalue>bigint</returnvalue>
|
||||||
|
</para>
|
||||||
|
<para>
|
||||||
|
Returns the number of buffers fetched for table or index, in the current
|
||||||
|
transaction.
|
||||||
|
</para></entry>
|
||||||
|
</row>
|
||||||
|
|
||||||
|
<row>
|
||||||
|
<entry role="func_table_entry"><para role="func_signature">
|
||||||
|
<indexterm>
|
||||||
|
<primary>pg_stat_get_xact_blocks_hit</primary>
|
||||||
|
</indexterm>
|
||||||
|
<function>pg_stat_get_xact_blocks_hit</function> ( <type>oid</type> )
|
||||||
|
<returnvalue>bigint</returnvalue>
|
||||||
|
</para>
|
||||||
|
<para>
|
||||||
|
Returns the number of buffer hits for table or index, in the current
|
||||||
|
transaction.
|
||||||
|
</para></entry>
|
||||||
|
</row>
|
||||||
|
|
||||||
<row>
|
<row>
|
||||||
<entry role="func_table_entry"><para role="func_signature">
|
<entry role="func_table_entry"><para role="func_signature">
|
||||||
<indexterm>
|
<indexterm>
|
||||||
|
Loading…
Reference in New Issue
Block a user