Skip to content

Commit 715de7a

Browse files
authored
Update README.md
Fix typo
1 parent f41f3d7 commit 715de7a

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

README.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,29 @@ Functions:
55
setof (name text, level integer, nblocks bigint, freechunks bigint,
66
totalspace bigint, freespace bigint)
77
local_memory_stats()
8-
prints memory context's statistic for current backend
8+
9+
prints memory context's statistic for current backend
910

1011
setof (pid integer, name text, level integer, nblocks bigint, freechunks bigint,
1112
totalspace bigint, freespace bigint)
12-
instance_memory_stats()
13-
prints memory context's statistic for all alive backend, works if library
14-
was preloaded via shared_preload_libraries.
13+
instance_memory_stats()
14+
15+
prints memory context's statistic for all alive backend, works if library
16+
was preloaded via shared_preload_libraries.
1517

1618
view memory_stats
17-
prints per backend summary memory statistics
19+
20+
prints per backend summary memory statistics
1821

1922
To use instance_memory_stats() it's needed to add memstat library to
2023
shared_preload_libraries. And it should be last in that list!
2124

2225
GUC variable:
23-
memstat.period = 10 # seconds
2426

25-
Module collects memory statistics at a begining of each query and
26-
it could be expensive on highloaded instances, so, this variable
27-
set minimal time between statistic obtaining.
27+
memstat.period = 10 # seconds
28+
29+
Module collects memory statistics at a begining of each query and
30+
it could be expensive on highloaded instances, so, this variable
31+
set minimal time between statistic obtaining.
2832

2933
Copyright (c) 2016, Teodor Sigaev <[email protected]>

0 commit comments

Comments
 (0)