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>
74 lines
17 KiB
HTML
74 lines
17 KiB
HTML
<a name="EN-US_TOPIC_0000001188642048"></a><a name="EN-US_TOPIC_0000001188642048"></a>
|
|
|
|
<h1 class="topictitle1">Cluster Transaction Parameters</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000001188642048__en-us_topic_0059778361_p105914161197">This section describes the settings and value ranges of cluster transaction parameters.</p>
|
|
<div class="section" id="EN-US_TOPIC_0000001188642048__sd9d0a139a3474dff81c16afbd8fca303"><h4 class="sectiontitle">transaction_isolation</h4><p id="EN-US_TOPIC_0000001188642048__a3aa0cf32ab594e0f8d294570595fa7b5"><strong id="EN-US_TOPIC_0000001188642048__b35889067">Parameter description</strong>: Specifies the isolation level of the current transaction.</p>
|
|
<p id="EN-US_TOPIC_0000001188642048__p8226203042311"><strong id="EN-US_TOPIC_0000001188642048__b455234864714">Type</strong>: USERSET</p>
|
|
<p id="EN-US_TOPIC_0000001188642048__ab4b08ba65613402ca13fdfd09580d982"><strong id="EN-US_TOPIC_0000001188642048__en-us_topic_0059778361_aa2861b35266d48acac63aff112fc5b1e">Value range</strong>:</p>
|
|
<ul id="EN-US_TOPIC_0000001188642048__ul29345551841"><li id="EN-US_TOPIC_0000001188642048__li18934145519418"><strong id="EN-US_TOPIC_0000001188642048__b7742154463910">READ COMMITTED</strong>: Only committed data is read. This is the default.</li><li id="EN-US_TOPIC_0000001188642048__li15934155516411"><strong id="EN-US_TOPIC_0000001188642048__b12476306515">READ UNCOMMITTED</strong>: <span id="EN-US_TOPIC_0000001188642048__text114817025111">GaussDB(DWS)</span> does not support <strong id="EN-US_TOPIC_0000001188642048__b648280135119">READ UNCOMMITTED</strong>. If <strong id="EN-US_TOPIC_0000001188642048__b1348250195119">READ UNCOMMITTED</strong> is set, <strong id="EN-US_TOPIC_0000001188642048__b648214035114">READ COMMITTED</strong> is executed instead.</li><li id="EN-US_TOPIC_0000001188642048__li10935555244"><strong id="EN-US_TOPIC_0000001188642048__b1285610492390">REPEATABLE READ</strong>: Only the data committed before transaction start is read. Uncommitted data or data committed in other concurrent transactions cannot be read.</li><li id="EN-US_TOPIC_0000001188642048__li593511551545"><strong id="EN-US_TOPIC_0000001188642048__b1936417315513">SERIALIZABLE</strong>: <span id="EN-US_TOPIC_0000001188642048__text5364234515">GaussDB(DWS)</span> does not support <strong id="EN-US_TOPIC_0000001188642048__b12365113135120">SERIALIZABLE</strong>. If <strong id="EN-US_TOPIC_0000001188642048__b6365203125111">SERIALIZABLE</strong> is set, <strong id="EN-US_TOPIC_0000001188642048__b1136523165119">REPEATABLE READ</strong> is executed instead.</li></ul>
|
|
<p id="EN-US_TOPIC_0000001188642048__aa41331776092480a9260b8dc77b4ca96"><strong id="EN-US_TOPIC_0000001188642048__b479916411513">Default value</strong>: <strong id="EN-US_TOPIC_0000001188642048__b380074105112">READ COMMITTED</strong></p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001188642048__s5b210d8773694747a97b5762787d25aa"><h4 class="sectiontitle">transaction_read_only</h4><p id="EN-US_TOPIC_0000001188642048__abcabb10e66a844b0ad124c3f6741b6fe"><strong id="EN-US_TOPIC_0000001188642048__en-us_topic_0059778361_en-us_topic_0058967582_b322665192930">Parameter description</strong>: Specifies that the current transaction is a read-only transaction.</p>
|
|
<p id="EN-US_TOPIC_0000001188642048__p5131749173010"><strong id="EN-US_TOPIC_0000001188642048__b4130249104714">Type</strong>: USERSET</p>
|
|
<p id="EN-US_TOPIC_0000001188642048__ac97a1e9552374e1db93d64b2b6f325df"><strong id="EN-US_TOPIC_0000001188642048__en-us_topic_0059778361_a4df0f3e6fb4a4993bd151746fc29b615">Value range</strong>: Boolean</p>
|
|
<ul id="EN-US_TOPIC_0000001188642048__u85dc5fab8eeb4314a4f8a73004d05c04"><li id="EN-US_TOPIC_0000001188642048__l5ff982d837af4a508b89b5548f5c2e0f"><strong id="EN-US_TOPIC_0000001188642048__b842352706135927">on</strong> indicates that the current transaction is a read-only transaction.</li><li id="EN-US_TOPIC_0000001188642048__l34bf0273a8fc4073a891876d32b7ca9e"><strong id="EN-US_TOPIC_0000001188642048__b262131805135937">off</strong> indicates that the current transaction can be a read/write transaction.</li></ul>
|
|
<p id="EN-US_TOPIC_0000001188642048__a949cf344300947418214e147ad90a007"><strong id="EN-US_TOPIC_0000001188642048__b89091942113020">Default value</strong>: <strong id="EN-US_TOPIC_0000001188642048__b590934213307">off</strong> for CNs and <strong id="EN-US_TOPIC_0000001188642048__b8909342173015">on</strong> for DNs</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001188642048__s63b833ea501244038bfa5d6466719514"><h4 class="sectiontitle">xc_maintenance_mode</h4><p id="EN-US_TOPIC_0000001188642048__a6b74b43a38ba41f8b8f291a25c273767"><strong id="EN-US_TOPIC_0000001188642048__b8585964515">Parameter description</strong>: Specifies whether the system is in maintenance mode.</p>
|
|
<p id="EN-US_TOPIC_0000001188642048__p105394519166"><strong id="EN-US_TOPIC_0000001188642048__b2285154712163">Type</strong>: SUSET</p>
|
|
<p id="EN-US_TOPIC_0000001188642048__a8dd1424a7ab14e00a7793bcaf4297ba2"><strong id="EN-US_TOPIC_0000001188642048__b1028661575117">Value range</strong>: Boolean</p>
|
|
<ul id="EN-US_TOPIC_0000001188642048__u5f312998310e41a89a1ad3def442a72a"><li id="EN-US_TOPIC_0000001188642048__l0634ecb7a7164c509f693c21f9d209bd"><strong id="EN-US_TOPIC_0000001188642048__b771581645120">on</strong> indicates that maintenance mode is enabled.</li><li id="EN-US_TOPIC_0000001188642048__l27e1b0a780f54873a4a1b5074c9a56f9"><strong id="EN-US_TOPIC_0000001188642048__b9164121845113">off</strong> indicates that the maintenance mode is disabled.</li></ul>
|
|
<p id="EN-US_TOPIC_0000001188642048__a223505c9e8a04530b8a56b3d7003eb59"><strong id="EN-US_TOPIC_0000001188642048__b55233292105553">Default value</strong>: <strong id="EN-US_TOPIC_0000001188642048__b842352706172155">off</strong></p>
|
|
<div class="notice" id="EN-US_TOPIC_0000001188642048__naf35617accbd4929904bc019b87774ec"><span class="noticetitle"><img src="public_sys-resources/notice_3.0-en-us.png"> </span><div class="noticebody"><p id="EN-US_TOPIC_0000001188642048__af187cf68aade4c78bb7f8b8d8152c7e6">Enable the maintenance mode with caution to avoid cluster data inconsistencies.</p>
|
|
</div></div>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001188642048__se7223079970b4a10b569ada583d6f3d9"><h4 class="sectiontitle">allow_concurrent_tuple_update</h4><p id="EN-US_TOPIC_0000001188642048__adf29a5cb72784a39a65511ccedbd7234"><strong id="EN-US_TOPIC_0000001188642048__en-us_topic_0059778361_aa9f6a14a274e43ae8f83b10d7f3b8d22">Parameter description</strong>: Specifies whether to allow concurrent update.</p>
|
|
<p id="EN-US_TOPIC_0000001188642048__p79901258113011"><strong id="EN-US_TOPIC_0000001188642048__b16493849134719">Type</strong>: USERSET</p>
|
|
<p id="EN-US_TOPIC_0000001188642048__a34b42a18cf3e483c810a382ecc17d516"><strong id="EN-US_TOPIC_0000001188642048__b240091920511">Value range</strong>: Boolean</p>
|
|
<ul id="EN-US_TOPIC_0000001188642048__ud5f3744ec40e4941b67635417d7977df"><li id="EN-US_TOPIC_0000001188642048__lf2cd7aa63c834ee19a8c880a03b2c33c"><strong id="EN-US_TOPIC_0000001188642048__b547922910514">on</strong> indicates it is enabled.</li><li id="EN-US_TOPIC_0000001188642048__l91a00a3607bd410eb3eacdda6dc89fb7"><strong id="EN-US_TOPIC_0000001188642048__b5564203818516">off</strong> indicates it is disabled.</li></ul>
|
|
<p id="EN-US_TOPIC_0000001188642048__a008a0521c7b14fac96e6f64d042288ad"><strong id="EN-US_TOPIC_0000001188642048__b337814198113">Default value</strong>: <strong id="EN-US_TOPIC_0000001188642048__b18386219413">on</strong></p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001188642048__s07f04c9e09dd49f99d806c6d1b222730"><h4 class="sectiontitle">gtm_backup_barrier</h4><p id="EN-US_TOPIC_0000001188642048__ad50d6ecfaa9d4e3da30b22737ab58f2a"><strong id="EN-US_TOPIC_0000001188642048__en-us_topic_0059778361_en-us_topic_0058967582_b767844611582">Parameter description</strong>: Specifies whether to create a restoration point for the GTM starting point.</p>
|
|
<p id="EN-US_TOPIC_0000001188642048__a06805fcf12a446f0be207f4f94b471d0"><strong id="EN-US_TOPIC_0000001188642048__b8591232102815">Type</strong>: SUSET</p>
|
|
<p id="EN-US_TOPIC_0000001188642048__a5a4ebd449cc44813b10995d7a9849f1d"><strong id="EN-US_TOPIC_0000001188642048__en-us_topic_0059778361_ad5cccb767b8a44de96027a65c28eae04">Value range</strong>: Boolean</p>
|
|
<ul id="EN-US_TOPIC_0000001188642048__u0c3671dd188646878bddcef77fe00a1c"><li id="EN-US_TOPIC_0000001188642048__l654a5e6de0e84d8f851d385dd4be92dd"><strong id="EN-US_TOPIC_0000001188642048__b84235270614160">on</strong> indicates that a restoration point will be created for the GTM starting point.</li><li id="EN-US_TOPIC_0000001188642048__l5fb3b33f60ac45ffa35ae626f00af4d2"><strong id="EN-US_TOPIC_0000001188642048__b4330817114166">off</strong> indicates that a restoration point will not be created for the GTM starting point.</li></ul>
|
|
<p id="EN-US_TOPIC_0000001188642048__ab993733625ce4e3a89b398161d4570b5"><strong id="EN-US_TOPIC_0000001188642048__b2016436525">Default value</strong>: <strong id="EN-US_TOPIC_0000001188642048__b1909299149">off</strong></p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001188642048__s2b18232f556043c898407e02edfdef1b"><h4 class="sectiontitle">gtm_conn_check_interval</h4><p id="EN-US_TOPIC_0000001188642048__a453fae8573374bb9872b03f5cd024b8c"><strong id="EN-US_TOPIC_0000001188642048__en-us_topic_0059778361_ab92dfadc151e46d1922a24ebf6f15641">Parameter description</strong>: Sets the CN to check whether the connection between the local thread and the primary GTM is normal.</p>
|
|
<p id="EN-US_TOPIC_0000001188642048__p10945314640"><strong id="EN-US_TOPIC_0000001188642048__b105551818183111">Parameter type</strong>: SIGHUP</p>
|
|
<p id="EN-US_TOPIC_0000001188642048__a858f586ddd5349228d0dfe6e988a3577"><strong id="EN-US_TOPIC_0000001188642048__en-us_topic_0059778361_af21f52970486449e9e227ae87d38b721">Value range</strong>: an integer ranging from 0 to INT_MAX/1000. The unit is second.</p>
|
|
<p id="EN-US_TOPIC_0000001188642048__a51adf803b81741c0afd5cdbdcca1e02e"><strong id="EN-US_TOPIC_0000001188642048__b586515861640">Default value</strong>: <strong id="EN-US_TOPIC_0000001188642048__b842352706165728">10s</strong></p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001188642048__s03d3940b5f7549e3a3e7c32ab36bf3d7"><h4 class="sectiontitle">transaction_deferrable</h4><p id="EN-US_TOPIC_0000001188642048__a5d2d66ff9139422cb67b48e3abc96620"><strong id="EN-US_TOPIC_0000001188642048__en-us_topic_0059778361_a90a94ff5e6d24dc280359d489253d598">Parameter description</strong>: Specifies whether to delay the execution of a read-only serial transaction without incurring an execution failure. Assume this parameter is set to <span class="parmvalue" id="EN-US_TOPIC_0000001188642048__parmvalue20382124413512"><b>on</b></span>. When the server detects that the tuples read by a read-only transaction are being modified by other transactions, it delays the execution of the read-only transaction until the other transactions finish modifying the tuples. Currently, this parameter is not used in <span id="EN-US_TOPIC_0000001188642048__text1262829036">GaussDB(DWS)</span>. Similar to this parameter, the <a href="dws_04_0925.html#EN-US_TOPIC_0000001188482304__s05ef9312d74143928830d7d459cdc63a">default_transaction_deferrable</a> parameter is used to specify whether to allow delayed execution of a transaction.</p>
|
|
<p id="EN-US_TOPIC_0000001188642048__p1569631414312"><strong id="EN-US_TOPIC_0000001188642048__b1751349204715">Type</strong>: USERSET</p>
|
|
<p id="EN-US_TOPIC_0000001188642048__a056768eae8e644f28561178ab3729a3f"><strong id="EN-US_TOPIC_0000001188642048__en-us_topic_0059778361_ac29187570a8f43cf841edf4e3238409c">Value range</strong>: Boolean</p>
|
|
<ul id="EN-US_TOPIC_0000001188642048__uf3003cf8c9e040c5a26731db10c52c14"><li id="EN-US_TOPIC_0000001188642048__ld010140e463444bf8c9d746c78d25ebf"><strong id="EN-US_TOPIC_0000001188642048__b842352706142640">on</strong> indicates that the execution of a read-only serial transaction can be delayed.</li><li id="EN-US_TOPIC_0000001188642048__l62bc5fd4fbb94bc88b0d019c7490ff4d"><strong id="EN-US_TOPIC_0000001188642048__b973132058142723">off</strong> indicates that the execution of a read-only serial transaction cannot be delayed.</li></ul>
|
|
<p id="EN-US_TOPIC_0000001188642048__a04472cbfc2304b0f97382008105c5ddd"><strong id="EN-US_TOPIC_0000001188642048__b125756510">Default value</strong>: <strong id="EN-US_TOPIC_0000001188642048__b657863940">off</strong></p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001188642048__s9286953201d046bc9731dd5231351a0b"><h4 class="sectiontitle">enforce_two_phase_commit</h4><p id="EN-US_TOPIC_0000001188642048__a5da4529f0bad4b78b7318f88e1df2558"><strong id="EN-US_TOPIC_0000001188642048__b1378314536112">Parameter description</strong>: This parameter is reserved for compatibility with earlier versions. This parameter is invalid in the current version.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001188642048__s5ca6923d335f477e892a8d03a295b7c1"><h4 class="sectiontitle">enable_show_any_tuples</h4><p id="EN-US_TOPIC_0000001188642048__ab3597abe43794d1591452b12e311fd13"><strong id="EN-US_TOPIC_0000001188642048__en-us_topic_0059778361_af31d26307b4542e6a47eb50b9fe44166">Parameter description</strong>: This parameter is available only in a read-only transaction and is used for analysis. When this parameter is set to <span class="parmvalue" id="EN-US_TOPIC_0000001188642048__parmvalue555125744145417"><b>on/true</b></span>, all versions of tuples in the table are displayed.</p>
|
|
<p id="EN-US_TOPIC_0000001188642048__p12968102333113"><strong id="EN-US_TOPIC_0000001188642048__b69245494471">Type</strong>: USERSET</p>
|
|
<p id="EN-US_TOPIC_0000001188642048__a8d190b57a3864bd3b10eb4f06af98c5c"><strong id="EN-US_TOPIC_0000001188642048__en-us_topic_0059778361_af42e3dda855140f0b4586b97281083ec">Value range</strong>: Boolean</p>
|
|
<ul id="EN-US_TOPIC_0000001188642048__u7270295d899747898cece372408b058f"><li id="EN-US_TOPIC_0000001188642048__l1115ab2d646b41eb8890f0c9cf4c0651"><strong id="EN-US_TOPIC_0000001188642048__b842352706143110">on/true</strong> indicates that all versions of tuples in the table are displayed.</li><li id="EN-US_TOPIC_0000001188642048__lef793e587d6a4874869a5151e7d52504"><strong id="EN-US_TOPIC_0000001188642048__b143191698414555">off/false</strong> indicates that no versions of tuples in the table are displayed.</li></ul>
|
|
<p id="EN-US_TOPIC_0000001188642048__a474e2f70eeb145cfbb1213c959787c4a"><strong id="EN-US_TOPIC_0000001188642048__b2087609966">Default value</strong>: <strong id="EN-US_TOPIC_0000001188642048__b646939354">off</strong></p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001188642048__s23bdab2e9a9c4cb99c4f111930d178fd"><h4 class="sectiontitle">gtm_connect_retries</h4><p id="EN-US_TOPIC_0000001188642048__a7da176b453854452953985d85b2914bd"><strong id="EN-US_TOPIC_0000001188642048__en-us_topic_0059778361_a04d5d0435ee545acab9fab9aa8252dc0">Parameter description</strong>: Specifies the number of GTM reconnection attempts.</p>
|
|
<p id="EN-US_TOPIC_0000001188642048__p6968195733216"><strong id="EN-US_TOPIC_0000001188642048__b115266523474">Type</strong>: SIGHUP</p>
|
|
<p id="EN-US_TOPIC_0000001188642048__a47c636ced29a40408ba54f2b301108fd"><strong id="EN-US_TOPIC_0000001188642048__en-us_topic_0059778361_ae44b78fcb17441c0a2f2015972dfeac2">Value range</strong>: an integer ranging from 1 to 2147483647.</p>
|
|
<p id="EN-US_TOPIC_0000001188642048__ae2bd7ec2de7046a0bf8ab93335c02213"><strong id="EN-US_TOPIC_0000001188642048__b31155792113852">Default value</strong>: <strong id="EN-US_TOPIC_0000001188642048__b842352706165012">30</strong></p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000001188642048__sfe673b480cf6470e9e35638c40d8a4d6"><h4 class="sectiontitle">enable_redistribute</h4><p id="EN-US_TOPIC_0000001188642048__ac3b08162d8b94f288660e29a923f0f97"><strong id="EN-US_TOPIC_0000001188642048__en-us_topic_0059778361_b4059173510743">Parameter description</strong>: Specifies whether unmatched nodes are redistributed.</p>
|
|
<p id="EN-US_TOPIC_0000001188642048__p1443581517326"><strong id="EN-US_TOPIC_0000001188642048__b136341053114717">Type</strong>: SUSET</p>
|
|
<p id="EN-US_TOPIC_0000001188642048__aad6076370f25464c92405e49f84f8d2f"><strong id="EN-US_TOPIC_0000001188642048__en-us_topic_0059778361_b4731132610356">Value range</strong>: Boolean</p>
|
|
<ul id="EN-US_TOPIC_0000001188642048__ucd38e4d73af14a94849992598b02f644"><li id="EN-US_TOPIC_0000001188642048__l33268466996345ecb31f33da7de59fc0"><strong id="EN-US_TOPIC_0000001188642048__b842352706113617">on</strong> indicates that unmatched nodes are redistributed.</li><li id="EN-US_TOPIC_0000001188642048__l7c763ea0ae7c4df681df938dff78ea06"><strong id="EN-US_TOPIC_0000001188642048__en-us_topic_0059778361_b710916210434">off</strong> indicates that unmatched nodes are not redistributed.</li></ul>
|
|
<p id="EN-US_TOPIC_0000001188642048__a776d641d10a34625a33b0d361a124a96"><strong id="EN-US_TOPIC_0000001188642048__b546587807">Default value</strong>: <strong id="EN-US_TOPIC_0000001188642048__b737590080">off</strong></p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_0883.html">GUC Parameters</a></div>
|
|
</div>
|
|
</div>
|
|
|