Skip to content

Commit aa31b29

Browse files
committed
doc: add pg_prewarm example
Discussion: https://postgr.es/m/20220618085541.ezxdaljlpo6x7msc@home-desktop Author: Dong Wook Lee Backpatch-through: 11
1 parent e57519a commit aa31b29

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

doc/src/sgml/pgprewarm.sgml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,19 @@ autoprewarm_dump_now() RETURNS int8
121121
</listitem>
122122
</varlistentry>
123123
</variablelist>
124+
<para>
125+
These parameters must be set in <filename>postgresql.conf</filename>.
126+
Typical usage might be:
127+
</para>
128+
129+
<programlisting>
130+
# postgresql.conf
131+
shared_preload_libraries = 'pg_prewarm'
132+
133+
pg_prewarm.autoprewarm = true
134+
pg_prewarm.autoprewarm_interval = 300s
135+
136+
</programlisting>
124137

125138
</sect2>
126139

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