Commit 9d71664c authored by Bruce Momjian's avatar Bruce Momjian

doc: add pg_prewarm example

Discussion: https://postgr.es/m/20220618085541.ezxdaljlpo6x7msc@home-desktop

Author: Dong Wook Lee

Backpatch-through: 11
parent 8d846444
...@@ -121,6 +121,19 @@ autoprewarm_dump_now() RETURNS int8 ...@@ -121,6 +121,19 @@ autoprewarm_dump_now() RETURNS int8
</listitem> </listitem>
</varlistentry> </varlistentry>
</variablelist> </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> </sect2>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment