doc-exports/docs/dws/dev/dws_04_0906.html
Lu, Huayi e6fa411af0 DWS DEV 830.201 version
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>
2024-05-16 07:24:04 +00:00

40 lines
7.9 KiB
HTML

<a name="EN-US_TOPIC_0000001188642036"></a><a name="EN-US_TOPIC_0000001188642036"></a>
<h1 class="topictitle1">Primary Server</h1>
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0000001188642036__s53df5f4d5b9148078959238a697f22b1"><h4 class="sectiontitle">vacuum_defer_cleanup_age</h4><p id="EN-US_TOPIC_0000001188642036__a69cec057342247309b67d65622d6f497"><strong id="EN-US_TOPIC_0000001188642036__b842352706122541">Parameter description</strong>: Specifies the number of transactions by which <strong id="EN-US_TOPIC_0000001188642036__b842352706122248">VACUUM</strong> will defer the cleanup of invalid row-store table records, so that <strong id="EN-US_TOPIC_0000001188642036__b842352706122445">VACUUM</strong> and <strong id="EN-US_TOPIC_0000001188642036__b842352706122449">VACUUM FULL</strong> do not clean up deleted tuples immediately.</p>
<p id="EN-US_TOPIC_0000001188642036__p77933395816"><strong id="EN-US_TOPIC_0000001188642036__b65515581467">Type</strong>: SIGHUP</p>
<p id="EN-US_TOPIC_0000001188642036__ae34368f79c1742219c877b2e4a7de374"><strong id="EN-US_TOPIC_0000001188642036__b913415161456">Value range</strong>: an integer ranging from 0 to 1000000. <strong id="EN-US_TOPIC_0000001188642036__b19680103513512">0</strong> means no delay.</p>
<p id="EN-US_TOPIC_0000001188642036__aa6cd867929ad47d687014718f3e9422d"><strong id="EN-US_TOPIC_0000001188642036__en-us_topic_0059778871_en-us_topic_0058967732_b61650132_6">Default value</strong>: <strong id="EN-US_TOPIC_0000001188642036__b842352706151931">0</strong></p>
</div>
<div class="section" id="EN-US_TOPIC_0000001188642036__sffe04d9ef09e4829ac2cb5d7766e9044"><h4 class="sectiontitle">data_replicate_buffer_size</h4><p id="EN-US_TOPIC_0000001188642036__aabad8dbe520a4115a430986bb31f3eb0"><strong id="EN-US_TOPIC_0000001188642036__b842352706151250">Parameter description</strong>: Specifies the size of memory used by queues when the sender sends data pages to the receiver. The value of this parameter affects the buffer size copied for the replication between the primary and standby servers.</p>
<p id="EN-US_TOPIC_0000001188642036__p178251044115917"><strong id="EN-US_TOPIC_0000001188642036__b1467875834618">Type</strong>: POSTMASTER</p>
<p id="EN-US_TOPIC_0000001188642036__a8b0414e516cf44b8929836357612cce6"><strong id="EN-US_TOPIC_0000001188642036__en-us_topic_0059777578_a6c811dab140d4125a7ac7b23b16563d6">Value range</strong>: an integer ranging from 4 to 1023. The unit is MB.</p>
<p id="EN-US_TOPIC_0000001188642036__afa706b869d654f618f5299fd29fec9c0"><strong id="EN-US_TOPIC_0000001188642036__b78131061869">Default value</strong>: <strong id="EN-US_TOPIC_0000001188642036__b1681314613612">16MB</strong> for CNs and <strong id="EN-US_TOPIC_0000001188642036__b6813116264">128MB</strong> for DNs</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001188642036__sc08e57b823de45adaec45cc6e625c090"><h4 class="sectiontitle">enable_data_replicate</h4><p id="EN-US_TOPIC_0000001188642036__a8659d469780141d499ddb1d354b166e3"><strong id="EN-US_TOPIC_0000001188642036__en-us_topic_0059777578_en-us_topic_0058967665_b691169416160">Parameter description</strong>: Specifies the data synchronization mode between the primary and standby servers when data is imported to row-store tables in a database.</p>
<p id="EN-US_TOPIC_0000001188642036__p1651612375917"><strong id="EN-US_TOPIC_0000001188642036__b11943191114718">Type</strong>: USERSET</p>
<p id="EN-US_TOPIC_0000001188642036__a07f734ad9c3745b79470091e1ecb3294"><strong id="EN-US_TOPIC_0000001188642036__b126168606">Value range</strong>: Boolean</p>
<ul id="EN-US_TOPIC_0000001188642036__u34d4dadbf7b84b0988351bf427a1cb44"><li id="EN-US_TOPIC_0000001188642036__l064252215eb04bdb8e2a2d83c6dd91f3"><strong id="EN-US_TOPIC_0000001188642036__b842352706151526">on</strong> indicates that data pages are used for the data synchronization between the primary and standby servers when data is imported to row-store tables in a database. This parameter cannot be set to <strong id="EN-US_TOPIC_0000001188642036__b195811543175812">on</strong> if <strong id="EN-US_TOPIC_0000001188642036__b1758118432587">replication_type</strong> is set to <strong id="EN-US_TOPIC_0000001188642036__b75817433582">1</strong>.</li><li id="EN-US_TOPIC_0000001188642036__l2df33dd2dcb34d3c9ea0763738298ce7"><strong id="EN-US_TOPIC_0000001188642036__b842352706151534">off</strong> indicates that the primary and standby servers synchronize data using Xlogs while the data is imported to a row-store table.</li></ul>
<p id="EN-US_TOPIC_0000001188642036__a318d0abd3cec4c888300064599b00709"><strong id="EN-US_TOPIC_0000001188642036__b19573715114114">Default value</strong>: <strong id="EN-US_TOPIC_0000001188642036__b842352706172116">on</strong></p>
</div>
<div class="section" id="EN-US_TOPIC_0000001188642036__section4875192614713"><h4 class="sectiontitle">enable_incremental_catchup</h4><p id="EN-US_TOPIC_0000001188642036__p1423910012817"><strong id="EN-US_TOPIC_0000001188642036__b0385112495317">Parameter description</strong>: Specifies the data catchup mode between the primary and standby nodes.</p>
<p id="EN-US_TOPIC_0000001188642036__p164841216135817"><strong id="EN-US_TOPIC_0000001188642036__b113821847471">Type</strong>: SIGHUP</p>
<p id="EN-US_TOPIC_0000001188642036__p994312101486"><strong id="EN-US_TOPIC_0000001188642036__a5676da98447a43dd921140c4309b268c">Value range:</strong> Boolean</p>
<ul id="EN-US_TOPIC_0000001188642036__ul1257919275811"><li id="EN-US_TOPIC_0000001188642036__li15579182716819"><strong id="EN-US_TOPIC_0000001188642036__b17806350185317">on</strong> indicates that the standby node uses the incremental catchup mode. That is, the standby server scans local data files on the standby server to obtain the list of differential data files between the primary and standby nodes and then performs catchup between the primary and standby nodes.</li><li id="EN-US_TOPIC_0000001188642036__li195798275810"><strong id="EN-US_TOPIC_0000001188642036__b84395395417">off</strong> indicates that the standby node uses the full catchup mode. That is, the standby node scans all local data files on the primary node to obtain the list of differential data files between the primary and standby nodes and performs catchup between the primary and standby nodes.</li></ul>
<p id="EN-US_TOPIC_0000001188642036__p3594520189"><strong id="EN-US_TOPIC_0000001188642036__en-us_topic_0059778871_en-us_topic_0058967732_b46080773_10">Default value</strong>: <strong id="EN-US_TOPIC_0000001188642036__b842352706145110">on</strong></p>
</div>
<div class="section" id="EN-US_TOPIC_0000001188642036__section114158571784"><h4 class="sectiontitle">wait_dummy_time</h4><p id="EN-US_TOPIC_0000001188642036__p14977161316910"><strong id="EN-US_TOPIC_0000001188642036__b16395950105512">Parameter description</strong>: Specifies the maximum duration for the primary, standby, and secondary clusters to wait for the secondary cluster to start in sequence and the maximum duration for the secondary cluster to send the scanning list when incremental data catchup is enabled.</p>
<p id="EN-US_TOPIC_0000001188642036__p19711152465813"><strong id="EN-US_TOPIC_0000001188642036__b105641745479">Type</strong>: SIGHUP</p>
<p id="EN-US_TOPIC_0000001188642036__p816314441395"><strong id="EN-US_TOPIC_0000001188642036__b0480497565">Value range</strong>: Integer, from 1 to <strong id="EN-US_TOPIC_0000001188642036__b10381644572">INT_MAX</strong>, in seconds.</p>
<p id="EN-US_TOPIC_0000001188642036__p4805155818920"><strong id="EN-US_TOPIC_0000001188642036__b88251124145713">Default value</strong>: <strong id="EN-US_TOPIC_0000001188642036__b6497142155711">300s</strong></p>
<div class="caution" id="EN-US_TOPIC_0000001188642036__note12802358899"><span class="cautiontitle"><img src="public_sys-resources/caution_3.0-en-us.png"> </span><div class="cautionbody"><p id="EN-US_TOPIC_0000001188642036__p118026581692">The unit can only be second.</p>
</div></div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_0904.html">HA Replication</a></div>
</div>
</div>