Skip to content

Commit 97e26dc

Browse files
committed
Correctly explain units used by function-timing stats functions.
The views are in milliseconds, but the raw functions return microseconds.
1 parent 6448289 commit 97e26dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/sgml/monitoring.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1654,15 +1654,15 @@ SELECT pg_stat_get_backend_pid(s.backendid) AS pid,
16541654
<entry><type>bigint</></entry>
16551655
<entry>Total time spent in this functions and all other functions
16561656
called by it, in milliseconds.
1657-
This value can also be returned by directly calling
1657+
The same value can be returned in microseconds by directly calling
16581658
the <function>pg_stat_get_function_time</function> function.</entry>
16591659
</row>
16601660
<row>
16611661
<entry>self_time</entry>
16621662
<entry><type>bigint</></entry>
16631663
<entry>Total time spent in this functions itself but not including
16641664
other functions called by it, in milliseconds.
1665-
This value can also be returned by directly calling
1665+
The same value can be returned in microseconds by directly calling
16661666
the <function>pg_stat_get_function_self_time</function> function.</entry>
16671667
</row>
16681668
</tbody>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy