Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaa31b29

Browse files
committed
doc: add pg_prewarm example
Discussion:https://postgr.es/m/20220618085541.ezxdaljlpo6x7msc@home-desktopAuthor: Dong Wook LeeBackpatch-through: 11
1 parente57519a commitaa31b29

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)

[8]ページ先頭

©2009-2025 Movatter.jp