forked from docs/doc-exports
Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com> Co-authored-by: Ru, Li Yi <liyiru7@huawei.com> Co-committed-by: Ru, Li Yi <liyiru7@huawei.com>
15 lines
1.3 KiB
HTML
15 lines
1.3 KiB
HTML
<a name="ddm_03_0039"></a><a name="ddm_03_0039"></a>
|
|
|
|
<h1 class="topictitle1">Setting a Hint to Skip the Cached Execution Plan</h1>
|
|
<div id="body1607392621700"><p id="ddm_03_0039__p159781510204315">DDM allows you to configure a hint to control whether each SELECT statement skips the cached execution plan.</p>
|
|
<p id="ddm_03_0039__p2979510204311">The hint is in the format of <strong id="ddm_03_0039__b125242364451">/*!GAUSS:skip_plancache=</strong><em id="ddm_03_0039__i125241036194510">flag</em><strong id="ddm_03_0039__b10525153694518">*/</strong>.</p>
|
|
<p id="ddm_03_0039__p11313855112210"><em id="ddm_03_0039__i1534317381452">flag</em> can be set to <strong id="ddm_03_0039__b534403834520">true</strong> or <strong id="ddm_03_0039__b13443389457">false</strong>. <strong id="ddm_03_0039__b834533844518">true</strong> indicates that the statement skips the cached execution plan. <strong id="ddm_03_0039__b63468389451">false</strong> indicates that the statement does not skip the cached execution plan.</p>
|
|
<p id="ddm_03_0039__p597911094313">Currently, this function only applies to SELECT statements.</p>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="ddm_08_0002.html">Supported SQL Statements</a></div>
|
|
</div>
|
|
</div>
|
|
|