doc: add pg_prewarm example
Discussion: https://postgr.es/m/20220618085541.ezxdaljlpo6x7msc@home-desktop Author: Dong Wook Lee Backpatch-through: 11
This commit is contained in:
parent
f890223bc3
commit
12f56b6a70
@ -121,6 +121,19 @@ autoprewarm_dump_now() RETURNS int8
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
<para>
|
||||
These parameters must be set in <filename>postgresql.conf</filename>.
|
||||
Typical usage might be:
|
||||
</para>
|
||||
|
||||
<programlisting>
|
||||
# postgresql.conf
|
||||
shared_preload_libraries = 'pg_prewarm'
|
||||
|
||||
pg_prewarm.autoprewarm = true
|
||||
pg_prewarm.autoprewarm_interval = 300s
|
||||
|
||||
</programlisting>
|
||||
|
||||
</sect2>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user