Files
doc-exports/docs/dws/dev/dws_04_0928.html
luhuayi 177cd61a57 DWS DEVG 910.211 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: luhuayi <luhuayi@huawei.com>
Co-committed-by: luhuayi <luhuayi@huawei.com>
2025-05-05 07:44:03 +00:00

70 lines
22 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<a name="EN-US_TOPIC_0000001811490993"></a><a name="EN-US_TOPIC_0000001811490993"></a>
<h1 class="topictitle1">Lock Management</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001811490993__en-us_topic_0059778102_p174046489815">In <span id="EN-US_TOPIC_0000001811490993__text2136600110">GaussDB(DWS)</span>, concurrent transactions may cause single-node deadlocks or distributed deadlocks due to resource competition. This section describes parameters used for managing transaction lock mechanisms.</p>
<div class="section" id="EN-US_TOPIC_0000001811490993__s34083b462e2947b5a232d8b3a1465d3b"><a name="EN-US_TOPIC_0000001811490993__s34083b462e2947b5a232d8b3a1465d3b"></a><a name="s34083b462e2947b5a232d8b3a1465d3b"></a><h4 class="sectiontitle">deadlock_timeout</h4><p id="EN-US_TOPIC_0000001811490993__aebefef4eb7ac4dea9c417faef925cb82"><strong id="EN-US_TOPIC_0000001811490993__en-us_topic_0059778102_ab357de372dc749b0b7cd20433daa9254">Parameter description</strong>: Specifies the time, in milliseconds, to wait on a lock before checking whether there is a deadlock condition. When the applied lock exceeds the preset value, the system will check whether a deadlock occurs.</p>
<ul id="EN-US_TOPIC_0000001811490993__u7f25b40473044df39931a033070e95ad"><li id="EN-US_TOPIC_0000001811490993__l50ea0632dd974b81a6f3a2023a349f2a">The check for deadlock is relatively expensive. Therefore, the server does not check it when waiting for a lock every time. Deadlocks do not frequently occur when the system is running. Therefore, the system just needs to wait on the lock for a while before checking for a deadlock. Increasing this value reduces the time wasted in needless deadlock checks, but slows down reporting of real deadlock errors. On a heavily loaded server, you may need to raise it. The value you have set needs to exceed the transaction time. By doing this, the possibility that a lock will be released before the waiter decides to check for deadlocks will be reduced.</li><li id="EN-US_TOPIC_0000001811490993__l3e93f4ff2db24e73bc1d5a11ab70ba44">When <a href="dws_04_0916.html#EN-US_TOPIC_0000001811491197__s80fbcd77ad5a4cdc879fe344d17b2c13">log_lock_waits</a> is set, this parameter also determines the duration you need to wait before a log message about the lock wait is issued. If you are trying to investigate locking delays, you need to set this parameter to a value smaller than normal <strong id="EN-US_TOPIC_0000001811490993__b8192516482">deadlock_timeout</strong>.</li></ul>
<p id="EN-US_TOPIC_0000001811490993__aa5a679a0025346749a61d1ea100c7d48"><strong id="EN-US_TOPIC_0000001811490993__b3910156192719">Type</strong>: SUSET</p>
<p id="EN-US_TOPIC_0000001811490993__a33601623115048eeb94f9c79e5e95d50"><strong id="EN-US_TOPIC_0000001811490993__en-us_topic_0059778102_a47abd39c97f042919e698a6a149bf0c1">Value range</strong>: an integer ranging from 1 to 2147483647. The unit is millisecond (ms).</p>
<p id="EN-US_TOPIC_0000001811490993__a74ffbe2751354c1a85bae8cf2dc83f62"><strong id="EN-US_TOPIC_0000001811490993__b15854097155846">Default value</strong>: <strong id="EN-US_TOPIC_0000001811490993__b842352706151220">1s</strong></p>
</div>
<div class="section" id="EN-US_TOPIC_0000001811490993__section163241448144916"><h4 class="sectiontitle">ddl_lock_timeout</h4><p id="EN-US_TOPIC_0000001811490993__p17265647544"><strong id="EN-US_TOPIC_0000001811490993__b164618241506">Parameter description</strong>: Indicates the number of seconds a DDL command should wait for the locks to become available. If the time spent in waiting for a lock exceeds the specified time, an error is reported. This parameter is supported only by clusters of version 8.1.3.200 or later.</p>
<p id="EN-US_TOPIC_0000001811490993__p113243487494"><strong id="EN-US_TOPIC_0000001811490993__b714231192">Type</strong>: SUSET</p>
<p id="EN-US_TOPIC_0000001811490993__p8324848144911"><strong id="EN-US_TOPIC_0000001811490993__b2774151514388">Value range</strong>: an integer ranging from 0 to INT_MAX. The unit is millisecond (ms).</p>
<ul id="EN-US_TOPIC_0000001811490993__ul42470264415"><li id="EN-US_TOPIC_0000001811490993__li1424813261945">If the value of this parameter is 0, this parameter does not take effect.</li><li id="EN-US_TOPIC_0000001811490993__li18109298414">If the value of this parameter is greater than 0, the lock wait time of DDL statements is the value of this parameter, and the lock wait time of other locks is the value of <strong id="EN-US_TOPIC_0000001811490993__b2020311571333">lockwait_timeout</strong>.</li></ul>
<p id="EN-US_TOPIC_0000001811490993__p1632434813490"><strong id="EN-US_TOPIC_0000001811490993__b0647182253913">Default value</strong>: <strong id="EN-US_TOPIC_0000001811490993__b765462212396">0</strong></p>
<div class="note" id="EN-US_TOPIC_0000001811490993__note1678851320317"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001811490993__p385317215419">This parameter has a higher priority than <strong id="EN-US_TOPIC_0000001811490993__b09431227145">lockwait_timeout</strong> and takes effect only for <strong id="EN-US_TOPIC_0000001811490993__b789718341249">AccessExclusiveLock</strong>.</p>
</div></div>
</div>
<div class="section" id="EN-US_TOPIC_0000001811490993__section137031528165511"><h4 class="sectiontitle">ddl_select_concurrent_mode</h4><p id="EN-US_TOPIC_0000001811490993__p15703102813552"><strong id="EN-US_TOPIC_0000001811490993__b839465365911">Parameter description</strong>: Specifies the concurrency mode of DDL and <strong id="EN-US_TOPIC_0000001811490993__b939525375914">SELECT</strong> statements. This parameter is supported only by clusters of version 8.1.3.320, 8.2.1, or later.</p>
<p id="EN-US_TOPIC_0000001811490993__p187031428195513"><strong id="EN-US_TOPIC_0000001811490993__b1716815443299">Type</strong>: SUSET</p>
<p id="EN-US_TOPIC_0000001811490993__p2703102813556"><strong id="EN-US_TOPIC_0000001811490993__b57521111175317">Value range</strong>: a string</p>
<ul id="EN-US_TOPIC_0000001811490993__ul1270392810551"><li id="EN-US_TOPIC_0000001811490993__li1570392813553"><strong id="EN-US_TOPIC_0000001811490993__b1489283275312">none</strong>: DDL and select statements cannot be executed concurrently. Waiting statements are in the lock wait state.</li><li id="EN-US_TOPIC_0000001811490993__li461714185329"><strong id="EN-US_TOPIC_0000001811490993__b11354720145314">truncate</strong>: When the <strong id="EN-US_TOPIC_0000001811490993__b1435512207537">TRUNCATE</strong> statement is blocked by the <strong id="EN-US_TOPIC_0000001811490993__b123561720185320">SELECT</strong> statement, the <strong id="EN-US_TOPIC_0000001811490993__b143571020165312">SELECT</strong> statement is interrupted and the <strong id="EN-US_TOPIC_0000001811490993__b133582202533">TRUNCATE</strong> statement is executed first.</li><li id="EN-US_TOPIC_0000001811490993__li361810185320"><strong id="EN-US_TOPIC_0000001811490993__b96889999895928">exchange</strong>: When the <strong id="EN-US_TOPIC_0000001811490993__b120020684595928">EXCHANGE</strong> statement is blocked by the <strong id="EN-US_TOPIC_0000001811490993__b118710796395928">SELECT</strong> statement, the <strong id="EN-US_TOPIC_0000001811490993__b211951153695928">SELECT</strong> statement is interrupted and the <strong id="EN-US_TOPIC_0000001811490993__b75300433195928">EXCHANGE</strong> statement is executed first.</li><li id="EN-US_TOPIC_0000001811490993__li12608111545616"><strong id="EN-US_TOPIC_0000001811490993__b661414546541">vacuum_full</strong>: When the <strong id="EN-US_TOPIC_0000001811490993__b10614854155411">vacuum_full</strong> statement is blocked by the <strong id="EN-US_TOPIC_0000001811490993__b66151549549">SELECT</strong> statement, the <strong id="EN-US_TOPIC_0000001811490993__b1661675465414">SELECT</strong> statement is interrupted and the <strong id="EN-US_TOPIC_0000001811490993__b1661745410544">vacuum_full</strong> statement is executed first. This is supported only by clusters of version 9.1.0.200 or later.</li><li id="EN-US_TOPIC_0000001811490993__li316483654217"><strong id="EN-US_TOPIC_0000001811490993__b791673419556">insert_overwrite</strong>: When the <strong id="EN-US_TOPIC_0000001811490993__b17918153435510">insert_overwrite</strong> statement is blocked by the <strong id="EN-US_TOPIC_0000001811490993__b191953419559">SELECT</strong> statement, the <strong id="EN-US_TOPIC_0000001811490993__b179201334115513">SELECT</strong> statement is interrupted and the <strong id="EN-US_TOPIC_0000001811490993__b11920113465516">insert_overwrite</strong> statement is executed first. This is supported only by clusters of version 9.1.0.200 or later.</li></ul>
<p id="EN-US_TOPIC_0000001811490993__p18703928185514"><strong id="EN-US_TOPIC_0000001811490993__b186151634103613">Default value</strong>: <strong id="EN-US_TOPIC_0000001811490993__b15615834173615">none</strong></p>
<div class="note" id="EN-US_TOPIC_0000001811490993__note146610123419"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001811490993__ul1356611414133"><li id="EN-US_TOPIC_0000001811490993__li356771417138">To reserve time for the <strong id="EN-US_TOPIC_0000001811490993__b70001133031844">SELECT</strong> statement to respond to signals, if the value of <strong id="EN-US_TOPIC_0000001811490993__b177012200731844">ddl_lock_timeout</strong> is less than 1 second in the current version, 1 second is used.</li><li id="EN-US_TOPIC_0000001811490993__li12567191491318">Concurrency is not supported when there are conflicts with locks of higher levels (more than one level). For example, <strong id="EN-US_TOPIC_0000001811490993__b56598317101750">autoanalyze</strong> is triggered by <strong id="EN-US_TOPIC_0000001811490993__b340093541101750">SELECT</strong> when <strong id="EN-US_TOPIC_0000001811490993__b1932006629101750">autoanalyze_mode</strong> is set to <strong id="EN-US_TOPIC_0000001811490993__b796944628101750">normal</strong>.</li><li id="EN-US_TOPIC_0000001811490993__li55676142138">This parameter allows for <strong id="EN-US_TOPIC_0000001811490993__b168843217268">SELECT</strong> statements in either a single statement or a transaction block. However, in other versions, it only supports <strong id="EN-US_TOPIC_0000001811490993__b8757340182614">SELECT</strong> statements in a single statement. For concurrent <strong id="EN-US_TOPIC_0000001811490993__b1443482415577">SELECT</strong> operations in a single statement or transaction block, learn more information in the description of parameter <a href="#EN-US_TOPIC_0000001811490993__section148041451182219">enable_cancel_select_in_txnblock</a>.</li><li id="EN-US_TOPIC_0000001811490993__li189811647938">Values other than <strong id="EN-US_TOPIC_0000001811490993__b4424163925913">none</strong> can be used together. For example, if this parameter is set to <strong id="EN-US_TOPIC_0000001811490993__b155901348165911">truncate, exchange</strong>, the <strong id="EN-US_TOPIC_0000001811490993__b121301951803">TRUNCATE</strong> and <strong id="EN-US_TOPIC_0000001811490993__b460813197011">EXCHANGE</strong> statements are blocked by the <strong id="EN-US_TOPIC_0000001811490993__b198743211011">SELECT</strong> statement. The <strong id="EN-US_TOPIC_0000001811490993__b119797391203">SELECT</strong> statement is interrupted and executed first.</li></ul>
</div></div>
</div>
<div class="section" id="EN-US_TOPIC_0000001811490993__section148041451182219"><a name="EN-US_TOPIC_0000001811490993__section148041451182219"></a><a name="section148041451182219"></a><h4 class="sectiontitle">enable_cancel_select_in_txnblock</h4><p id="EN-US_TOPIC_0000001811490993__p17804165115229"><strong id="EN-US_TOPIC_0000001811490993__b3804135111222">Parameter description</strong>: Specifies whether the <strong id="EN-US_TOPIC_0000001811490993__b079818531308">SELECT</strong> statement in a transaction block can be interrupted. This parameter is supported only by clusters of version 8.2.1, 9.1.0.200, or later.</p>
<p id="EN-US_TOPIC_0000001811490993__p12804145112218"><strong id="EN-US_TOPIC_0000001811490993__b9804115192211">Type</strong>: USERSET</p>
<p id="EN-US_TOPIC_0000001811490993__p719183713247"><strong id="EN-US_TOPIC_0000001811490993__en-us_topic_0059778244_en-us_topic_0058967612_b31827961">Value range</strong>: Boolean</p>
<ul id="EN-US_TOPIC_0000001811490993__ul19191143792415"><li id="EN-US_TOPIC_0000001811490993__li1619113717241"><strong id="EN-US_TOPIC_0000001811490993__b1673519221517">on</strong> indicates that the select operation in the transaction block can be interrupted.</li><li id="EN-US_TOPIC_0000001811490993__li919110374243"><strong id="EN-US_TOPIC_0000001811490993__b1420017402015">off</strong> indicates that the select operation in the transaction block cannot be interrupted.</li></ul>
<p id="EN-US_TOPIC_0000001811490993__p16191737172410"><strong id="EN-US_TOPIC_0000001811490993__b2037433912415">Default value</strong>: <strong id="EN-US_TOPIC_0000001811490993__b15375133915414">on</strong></p>
<div class="note" id="EN-US_TOPIC_0000001811490993__note45639762718"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><ul id="EN-US_TOPIC_0000001811490993__ul15563197112720"><li id="EN-US_TOPIC_0000001811490993__li155638782710">This parameter controls whether the <strong id="EN-US_TOPIC_0000001811490993__b88761061928">SELECT</strong> statement in a transaction block can be interrupted by the DDL operation specified in <strong id="EN-US_TOPIC_0000001811490993__b19111623721">ddl_select_concurrent_mode</strong>.</li><li id="EN-US_TOPIC_0000001811490993__li14701142123018">The <strong id="EN-US_TOPIC_0000001811490993__b1731112321121">ddl_select_concurrent_mode</strong> parameter controls DDL statements such as <strong id="EN-US_TOPIC_0000001811490993__b231025520213">TRUNCATE</strong> and <strong id="EN-US_TOPIC_0000001811490993__b694810715313">EXCHANGE</strong>, and the <strong id="EN-US_TOPIC_0000001811490993__b895512141531">enable_cancel_select_in_txnblock</strong> parameter controls <strong id="EN-US_TOPIC_0000001811490993__b85741420632">SELECT</strong> statements.</li></ul>
</div></div>
</div>
<div class="section" id="EN-US_TOPIC_0000001811490993__s4c1383de18ec4928a1f9d7a7a4c0498b"><a name="EN-US_TOPIC_0000001811490993__s4c1383de18ec4928a1f9d7a7a4c0498b"></a><a name="s4c1383de18ec4928a1f9d7a7a4c0498b"></a><h4 class="sectiontitle">lockwait_timeout</h4><p id="EN-US_TOPIC_0000001811490993__a1c2f8bb870334b47b380045558eec458"><strong id="EN-US_TOPIC_0000001811490993__en-us_topic_0059778102_a11bf748b453142e4bfece0f45a793f14">Parameter description</strong>: Specifies the longest time to wait before a single lock times out. If the time you wait before acquiring a lock exceeds the specified time, an error is reported.</p>
<p id="EN-US_TOPIC_0000001811490993__p19521255143819"><strong id="EN-US_TOPIC_0000001811490993__b284037132718">Type</strong>: SUSET</p>
<p id="EN-US_TOPIC_0000001811490993__afc56aa6d7d0442fabea86fdf2c2f444f"><strong id="EN-US_TOPIC_0000001811490993__en-us_topic_0059778102_aae7931e7938b4f8f8021ead037bc434a">Value range</strong>: an integer ranging from 0 to INT_MAX. The unit is millisecond (ms).</p>
<p id="EN-US_TOPIC_0000001811490993__ae3ead4aacf31413bb043d93f1d7365dd"><strong id="EN-US_TOPIC_0000001811490993__en-us_topic_0059778102_aaaed2f2f565e40d5b0247dc7cc853b69">Default value</strong>: <strong id="EN-US_TOPIC_0000001811490993__b84235270611550">20 min</strong></p>
</div>
<div class="section" id="EN-US_TOPIC_0000001811490993__section14495103214523"><h4 class="sectiontitle">update_lockwait_timeout</h4><p id="EN-US_TOPIC_0000001811490993__p1492134465210"><strong id="EN-US_TOPIC_0000001811490993__b5340131581620">Parameter description</strong>: sets the maximum duration that a lock waits for concurrent updates on a row to complete when the concurrent update feature is enabled. If the time you wait before acquiring a lock exceeds the specified time, an error is reported.</p>
<p id="EN-US_TOPIC_0000001811490993__p1801133397"><strong id="EN-US_TOPIC_0000001811490993__b118861271273">Type</strong>: SUSET</p>
<p id="EN-US_TOPIC_0000001811490993__p79321544105212"><strong id="EN-US_TOPIC_0000001811490993__b1202320237">Value range</strong>: an integer ranging from 0 to INT_MAX. The unit is millisecond (ms).</p>
<p id="EN-US_TOPIC_0000001811490993__p18941114416524"><strong id="EN-US_TOPIC_0000001811490993__b1280410197168">Default value</strong>: <strong id="EN-US_TOPIC_0000001811490993__b15805151917164">2min</strong></p>
</div>
<div class="section" id="EN-US_TOPIC_0000001811490993__s9e60e76c946c4167bbac44b06763643e"><h4 class="sectiontitle">partition_lock_upgrade_timeout</h4><p id="EN-US_TOPIC_0000001811490993__af8d27aa64e5a472280e5acc14f145759"><strong id="EN-US_TOPIC_0000001811490993__en-us_topic_0059778102_a0a3f754b01714f8eb42ebd28e1e3aced">Parameter description</strong>: Specifies the time to wait before the attempt of a lock upgrade from ExclusiveLock to AccessExclusiveLock times out on partitions.</p>
<ul id="EN-US_TOPIC_0000001811490993__u11dac01d617041d2b739e24101925624"><li id="EN-US_TOPIC_0000001811490993__l21aa88468c2e4b9da8f473ba397f12ff">When you do MERGE PARTITION and CLUSTER PARTITION on a partitioned table, temporary tables are used for data rearrangement and file exchange. To concurrently perform as many operations as possible on the partitions, ExclusiveLock is acquired for the partitions during data rearrangement and AccessExclusiveLock is acquired during file exchange.</li><li id="EN-US_TOPIC_0000001811490993__l62feb41355374e7e9c141968baadcfa7">Generally, a partition waits until it acquires a lock, or a timeout occurs if the partition waits for a period of time longer than specified by the <a href="#EN-US_TOPIC_0000001811490993__s4c1383de18ec4928a1f9d7a7a4c0498b">lockwait_timeout</a> parameter.</li><li id="EN-US_TOPIC_0000001811490993__l5a4a9f8beaa2430081819533d939c31d">When doing MERGE PARTITION or CLUSTER PARTITION on a partitioned table, you need to acquire AccessExclusiveLock during file exchange. If the lock fails to be acquired, the acquisition is retried in 50 ms. This parameter specifies the time to wait before the lock acquisition attempt times out.</li><li id="EN-US_TOPIC_0000001811490993__l6af6f4643f8448279da12f0b367b972d">If this parameter is set to <strong id="EN-US_TOPIC_0000001811490993__b068812331433">1</strong>, the lock upgrade never times out. The lock upgrade is continuously retried until it succeeds.</li></ul>
<p id="EN-US_TOPIC_0000001811490993__a08d782463f144356b25d6f937a41fd8a"><strong id="EN-US_TOPIC_0000001811490993__b353151402716">Type</strong>: USERSET</p>
<p id="EN-US_TOPIC_0000001811490993__a5aa04d74c8c44d3b8962d8c3c3c1fb46"><strong id="EN-US_TOPIC_0000001811490993__b131227031614">Value range</strong>: an integer ranging from 1 to 3000, in seconds</p>
<p id="EN-US_TOPIC_0000001811490993__ad5567e8f532b48d88e9ff8f89a1f3553"><strong id="EN-US_TOPIC_0000001811490993__b198153866">Default value</strong>: <strong id="EN-US_TOPIC_0000001811490993__b842352706143156">1800</strong></p>
</div>
<div class="section" id="EN-US_TOPIC_0000001811490993__section0866481881"><h4 class="sectiontitle">enable_release_scan_lock</h4><p id="EN-US_TOPIC_0000001811490993__p0119821171310"><strong id="EN-US_TOPIC_0000001811490993__b106912014112">Parameter description</strong>: Specifies whether a SELECT statement releases a level-1 lock after the statement execution is complete. This parameter reduces DDL conflicts with SELECT locks within transaction blocks. This parameter is supported only by clusters of version 8.3.0 or later.</p>
<p id="EN-US_TOPIC_0000001811490993__p6861448187"><strong id="EN-US_TOPIC_0000001811490993__b192008311">Type</strong>: USERSET</p>
<p id="EN-US_TOPIC_0000001811490993__p4861248580"><strong id="EN-US_TOPIC_0000001811490993__b914991833">Value range</strong>: Boolean</p>
<ul id="EN-US_TOPIC_0000001811490993__ul17869481381"><li id="EN-US_TOPIC_0000001811490993__li14861848784"><strong id="EN-US_TOPIC_0000001811490993__b186667532">on</strong> indicates that DDL operations will be blocked to wait for the release of cluster locks. The SELECT statement releases the level-1 lock after it finishes, not when the transaction commits.</li><li id="EN-US_TOPIC_0000001811490993__li8868482817"><strong id="EN-US_TOPIC_0000001811490993__b839645785">off</strong> indicates that DDL operations will not be blocked.</li></ul>
<p id="EN-US_TOPIC_0000001811490993__p178674819817"><strong id="EN-US_TOPIC_0000001811490993__b1844280922">Default value</strong>: <strong id="EN-US_TOPIC_0000001811490993__b881436704">off</strong></p>
</div>
<div class="section" id="EN-US_TOPIC_0000001811490993__section18612410063"><h4 class="sectiontitle">vacuum_full_interruptible</h4><p id="EN-US_TOPIC_0000001811490993__p2612110762"><strong id="EN-US_TOPIC_0000001811490993__b146121210768">Parameter description</strong>: Controls the behavior that the <strong id="EN-US_TOPIC_0000001811490993__b1117585615318">VACUUM FULL</strong> statement gives a lock to other statements. This is supported only by clusters of version 9.1.0.200 or later.</p>
<p id="EN-US_TOPIC_0000001811490993__p1961216108614"><strong id="EN-US_TOPIC_0000001811490993__b661210109618">Type</strong>: USERSET</p>
<p id="EN-US_TOPIC_0000001811490993__p461212105618"><strong id="EN-US_TOPIC_0000001811490993__b1782926107">Value range</strong>: Boolean</p>
<ul id="EN-US_TOPIC_0000001811490993__ul1612201015615"><li id="EN-US_TOPIC_0000001811490993__li16612121010613"><strong id="EN-US_TOPIC_0000001811490993__b1538934437">on</strong> indicates that DDL operations will be blocked to wait for the release of cluster locks. When <strong id="EN-US_TOPIC_0000001811490993__b1717118918410">VACUUM FULL</strong> blocks other statements, it interrupts the execution and gives the lock to other statements.</li><li id="EN-US_TOPIC_0000001811490993__li4612610862"><strong id="EN-US_TOPIC_0000001811490993__b1040265881">off</strong> indicates that DDL operations will not be blocked. When <strong id="EN-US_TOPIC_0000001811490993__b11442382416">VACUUM FULL</strong> blocks other statements, it does not interrupt the execution. Other statements can be executed only after <strong id="EN-US_TOPIC_0000001811490993__b14802435515">VACUUM FULL</strong> has completed and released the lock.</li></ul>
<p id="EN-US_TOPIC_0000001811490993__p116123101467"><strong id="EN-US_TOPIC_0000001811490993__b959540726">Default value</strong>: <strong id="EN-US_TOPIC_0000001811490993__b612207859">off</strong></p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_0883.html">GUC Parameters of the GaussDB(DWS) Database</a></div>
</div>
</div>