forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: luhuayi <luhuayi@huawei.com> Co-committed-by: luhuayi <luhuayi@huawei.com>
20 lines
2.2 KiB
HTML
20 lines
2.2 KiB
HTML
<a name="EN-US_TOPIC_0000001860198717"></a><a name="EN-US_TOPIC_0000001860198717"></a>
|
|
|
|
|
|
<h1 class="topictitle1">Managing Connections in the SQL Terminal</h1>
|
|
|
|
<div id="body1584526252530"><p id="EN-US_TOPIC_0000001860198717__en-us_topic_0185264344_p176924197365">In Data Studio, you can either use an existing connection or set up a new one in the SQL terminal to view the execution plan and cost, visualize the plan explanation, and work with the result set. By default, the SQL terminal reuses existing connections. When multiple queries are queued for execution in an existing connection, consider using a new connection to avoid delays caused by sequential execution. However, it is best to reuse existing connections when working with temporary tables. For how to edit temporary tables, see <a href="DWS_DS_020.html">Editing Temporary Tables</a>.</p>
|
|
<p id="EN-US_TOPIC_0000001860198717__en-us_topic_0185264344_p1677112211592">Perform the following steps to change the connection reuse setting:</p>
|
|
<ol id="EN-US_TOPIC_0000001860198717__en-us_topic_0185264344_ol124254545914"><li id="EN-US_TOPIC_0000001860198717__en-us_topic_0185264344_li94252595917"><span>Click <span><img id="EN-US_TOPIC_0000001860198717__en-us_topic_0185264344_image942519513599" src="figure/en-us_image_0000001860199201.png"></span> to enable or disable the connection reuse function in the SQL terminal.</span><p><div class="p" id="EN-US_TOPIC_0000001860198717__en-us_topic_0185264344_p153705719338">For details about query execution behavior during connection reuse and creation, see <a href="DWS_DS_040.html#EN-US_TOPIC_0000001813598528__en-us_topic_0185264547_li18661844113712">FAQs</a>.<div class="note" id="EN-US_TOPIC_0000001860198717__en-us_topic_0185264344_note332519553337"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001860198717__en-us_topic_0185264344_p1325115520332">You can only edit temporary tables in existing connections.</p>
|
|
</div></div>
|
|
</div>
|
|
</p></li></ol>
|
|
</div>
|
|
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="DWS_DS_025.html">SQL Terminal Management</a></div>
|
|
</div>
|
|
</div>
|
|
|