forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
25 lines
4.2 KiB
HTML
25 lines
4.2 KiB
HTML
<a name="EN-US_TOPIC_0000001188482090"></a><a name="EN-US_TOPIC_0000001188482090"></a>
|
|
|
|
<h1 class="topictitle1">Checkpoints</h1>
|
|
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0000001188482090__sd7daa0171e7245968cf6a44d968e1ad5"><a name="EN-US_TOPIC_0000001188482090__sd7daa0171e7245968cf6a44d968e1ad5"></a><a name="sd7daa0171e7245968cf6a44d968e1ad5"></a><h4 class="sectiontitle">checkpoint_segments</h4><p id="EN-US_TOPIC_0000001188482090__af3ffa17bd23a420e8eaf66f29998b87d"><strong id="EN-US_TOPIC_0000001188482090__a61e45a9846a34010a2ae307bbcc7cf85">Parameter description</strong>: Specifies the minimum number of WAL segment files in the period specified by <a href="#EN-US_TOPIC_0000001188482090__s8acbdb7a59af4102bf229fcf4c889f37">checkpoint_timeout</a>. The size of each log file is 16 MB.</p>
|
|
<p id="EN-US_TOPIC_0000001188482090__p4873133064319"><strong id="EN-US_TOPIC_0000001188482090__b162513720243">Type</strong>: SIGHUP</p>
|
|
<p id="EN-US_TOPIC_0000001188482090__af6e4fb5b24d14955a064663ccc00bc45"><strong id="EN-US_TOPIC_0000001188482090__b29895242">Value range</strong>: an integer. The minimum value is <strong id="EN-US_TOPIC_0000001188482090__b47201151142917">1</strong>.</p>
|
|
<p id="EN-US_TOPIC_0000001188482090__a28ba2b4d59dd444bb97cd0ad17f80017"><strong id="EN-US_TOPIC_0000001188482090__b304065207101827">Default value</strong>: <strong id="EN-US_TOPIC_0000001188482090__b986243008101827">64</strong></p>
|
|
<div class="notice" id="EN-US_TOPIC_0000001188482090__note0657113584916"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="EN-US_TOPIC_0000001188482090__p16571235194915">Increasing the value of this parameter speeds up the export of big data. Set this parameter based on <strong id="EN-US_TOPIC_0000001188482090__b10113073813">checkpoint_timeout</strong> and <a href="dws_04_0893.html#EN-US_TOPIC_0000001188163786__s9292cfbf38fa4b17b93e9a47330da753">shared_buffers</a>. This parameter affects the number of WAL log segment files that can be reused. Generally, the maximum number of reused files in the <strong id="EN-US_TOPIC_0000001188482090__b123561159366">pg_xlog</strong> folder is twice the number of checkpoint segments. The reused files are not deleted and are renamed to the WAL log segment files which will be later used.</p>
|
|
</div></div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001188482090__s8acbdb7a59af4102bf229fcf4c889f37"><a name="EN-US_TOPIC_0000001188482090__s8acbdb7a59af4102bf229fcf4c889f37"></a><a name="s8acbdb7a59af4102bf229fcf4c889f37"></a><h4 class="sectiontitle">checkpoint_timeout</h4><p id="EN-US_TOPIC_0000001188482090__a155e64b1ce514021b3ef941ba94eb649"><strong id="EN-US_TOPIC_0000001188482090__en-us_topic_0059778936_a3ce1e9ea56d14d8ebce03022153b2749">Parameter description</strong>: Specifies the maximum time between automatic WAL checkpoints.</p>
|
|
<p id="EN-US_TOPIC_0000001188482090__p1926513368473"><strong id="EN-US_TOPIC_0000001188482090__b46386196252">Type</strong>: SIGHUP</p>
|
|
<p id="EN-US_TOPIC_0000001188482090__a31eddffceada4f3b8cc2e8cd0398b52f"><strong id="EN-US_TOPIC_0000001188482090__en-us_topic_0059778936_a017dc58f4ace4a378303f1819eebf032">Value range:</strong> an integer ranging from 30 to 3600 (s)</p>
|
|
<p id="EN-US_TOPIC_0000001188482090__a34223cb97ea141ce98b7f4ec8112e950"><strong id="EN-US_TOPIC_0000001188482090__b732579347101827">Default value</strong>: <strong id="EN-US_TOPIC_0000001188482090__b1256978316101827">15min</strong></p>
|
|
<div class="notice" id="EN-US_TOPIC_0000001188482090__note173837554499"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="EN-US_TOPIC_0000001188482090__p13831155204915">If the value of <a href="#EN-US_TOPIC_0000001188482090__sd7daa0171e7245968cf6a44d968e1ad5">checkpoint_segments</a> is increased, you need to increase the value of this parameter. The increase of them further requires the increase of <a href="dws_04_0893.html#EN-US_TOPIC_0000001188163786__s9292cfbf38fa4b17b93e9a47330da753">shared_buffers</a>. Consider all these parameters during setting.</p>
|
|
</div></div>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_0900.html">Write Ahead Logs</a></div>
|
|
</div>
|
|
</div>
|
|
|