Files
doc-exports/docs/dws/tool/DWS_DS_033.html
luhuayi a5e3903f6b DWS TG 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-04-23 13:53:01 +00:00

187 lines
23 KiB
HTML

<a name="EN-US_TOPIC_0000001813439072"></a><a name="EN-US_TOPIC_0000001813439072"></a>
<h1 class="topictitle1">Viewing the Execution Plan and Costs</h1>
<div id="body1584526252530"><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p1802150">The execution plan shows how the table referenced by the SQL statement will be scanned (sequential scan or index scan).</p>
<p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p16219352">The SQL statement execution cost indicates the duration for executing a statement (measured in cost units that are arbitrary, but conventionally mean disk page fetches).</p>
<p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p11756443">Follow the steps below to view the plan and cost for a required SQL query:</p>
<ol id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_ol15447074"><li id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_li1369482710565"><span>Enter the query or use an existing query in the <strong id="EN-US_TOPIC_0000001813439072__b125193812945940">SQL Terminal</strong> and click <span><img id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_image4832183711418" src="figure/en-us_image_0000001813599224.png"></span> on the SQL Terminal toolbar to view explain plan.</span><p><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p147533295115">To view explain plan with analyze, click the drop-down from <span><img id="EN-US_TOPIC_0000001813439072__image109888191128" src="figure/en-us_image_0000001813599764.png"></span>, select <strong id="EN-US_TOPIC_0000001813439072__b69880191524">Include Analyze</strong>, and click <span><img id="EN-US_TOPIC_0000001813439072__image177940394245940" src="figure/en-us_image_0000001813599764.png"></span>.</p>
<p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p17102192111420">The <strong id="EN-US_TOPIC_0000001813439072__b105266291527">Execution Plan</strong> opens in tree view format as a new tab at the bottom by default. The display mode has a tree shape and text style.</p>
<div class="note" id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_note35365561931"><img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span><div class="notebody"><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p16683115814441">The data shown in tree explain plan and visual explain may vary, since the execution parameters considered by both are not the same.</p>
</div></div>
<p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p199691105820">Following are the parameters selected for explain plan with/without analyze and the columns displayed:</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_table069411274561" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Explain plan options</caption><thead align="left"><tr id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_row13694122775615"><th align="left" class="cellrowborder" valign="top" width="31%" id="mcps1.3.4.1.2.5.2.4.1.1"><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p206948270566"><strong id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_b56941927145615">Explain Plan Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33%" id="mcps1.3.4.1.2.5.2.4.1.2"><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p469410272562"><strong id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_b17433195016918">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="36%" id="mcps1.3.4.1.2.5.2.4.1.3"><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p2694142715612"><strong id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_b840318481097">Column</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_row96943278566"><td class="cellrowborder" valign="top" width="31%" headers="mcps1.3.4.1.2.5.2.4.1.1 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p10184119121018"><strong id="EN-US_TOPIC_0000001813439072__b1427310361187">Include Analyze</strong> deselected (default setting)</p>
</td>
<td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.4.1.2.5.2.4.1.2 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p569418270566">Verbose, Costs</p>
</td>
<td class="cellrowborder" valign="top" width="36%" headers="mcps1.3.4.1.2.5.2.4.1.3 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p19694127175611">Node type, startup cost, total cost, rows, width, additional Info</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_row16694152715614"><td class="cellrowborder" valign="top" width="31%" headers="mcps1.3.4.1.2.5.2.4.1.1 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p169472717562"><strong id="EN-US_TOPIC_0000001813439072__b841104113811">Include Analyze</strong> selected</p>
</td>
<td class="cellrowborder" valign="top" width="33%" headers="mcps1.3.4.1.2.5.2.4.1.2 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p1569462715610">Analyze, Verbose, Costs, Buffers, Timing</p>
</td>
<td class="cellrowborder" valign="top" width="36%" headers="mcps1.3.4.1.2.5.2.4.1.3 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p116944274568">Node type, startup cost, total cost, rows, width, Actual startup time, Actual total time, Actual Rows, Actual loops, Additional Info</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p10230131521214">The <strong id="EN-US_TOPIC_0000001813439072__b129531111291">Additional Info</strong> column contains predicate information (filter predicate and hash condition), distribution key, output information, and node type.</p>
<p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p179261144132416">In <strong id="EN-US_TOPIC_0000001813439072__b1927191817914">Tree Format</strong>, nodes are categorized into 16 types. Each node is indicated with an icon of the corresponding type. The following table lists the node types and icons.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_table156941327105611" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Node types and icons</caption><thead align="left"><tr id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_row7694112705620"><th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.1.2.8.2.3.1.1"><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p669412713569"><strong id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_b482664316292">Node Category</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50%" id="mcps1.3.4.1.2.8.2.3.1.2"><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p196944274564">Icon</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_row9694202715562"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.1.2.8.2.3.1.1 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p26948270567">Aggregate</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.1.2.8.2.3.1.2 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p1669432755613"><span><img id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_image114201421103112" src="figure/en-us_image_0000001813439452.jpg"></span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_row769413273565"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.1.2.8.2.3.1.1 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p1069417272569">Group Aggregate</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.1.2.8.2.3.1.2 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p14384108153213"><span><img id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_image143642803214" src="figure/en-us_image_0000001860319149.jpg"></span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_row0694182705620"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.1.2.8.2.3.1.1 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p1269482735615">Function</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.1.2.8.2.3.1.2 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p97923218321"><span><img id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_image77834211326" src="figure/en-us_image_0000001860319173.jpg"></span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_row4694172713560"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.1.2.8.2.3.1.1 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p1769402765610">Hash</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.1.2.8.2.3.1.2 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p19590103233215"><span><img id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_image2058216328323" src="figure/en-us_image_0000001813599252.jpg"></span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_row14694172745610"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.1.2.8.2.3.1.1 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p5694182711562">Hash Join</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.1.2.8.2.3.1.2 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p15450141314338"><span><img id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_image14441131316331" src="figure/en-us_image_0000001860199313.jpg"></span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_row1769492720563"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.1.2.8.2.3.1.1 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p16941327205618">Nested Loop</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.1.2.8.2.3.1.2 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p401392459"><span><img id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_image149931238114511" src="figure/en-us_image_0000001860319137.jpg"></span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_row1694172714564"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.1.2.8.2.3.1.1 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p669432715563">Nested Loop Join</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.1.2.8.2.3.1.2 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p230472214419"><span><img id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_image1829714224417" src="figure/en-us_image_0000001813439444.jpg"></span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_row1694122719565"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.1.2.8.2.3.1.1 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p1369452718567">Modify Table</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.1.2.8.2.3.1.2 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p154365764112"><span><img id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_image242613711413" src="figure/en-us_image_0000001813599260.jpg"></span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_row16694192725610"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.1.2.8.2.3.1.1 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p12694172715564">Partition Iterator</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.1.2.8.2.3.1.2 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p2092610347404"><span><img id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_image99181234134015" src="figure/en-us_image_0000001813439472.jpg"></span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_row769414273569"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.1.2.8.2.3.1.1 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p1069415277568">Row Adapter</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.1.2.8.2.3.1.2 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p12899978402"><span><img id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_image08893794011" src="figure/en-us_image_0000001813599256.jpg"></span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_row146941927105617"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.1.2.8.2.3.1.1 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p1769412705612">Seq Scan on</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.1.2.8.2.3.1.2 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p1120475383913"><span><img id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_image1319510530394" src="figure/en-us_image_0000001860319169.jpg"></span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_row166941271566"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.1.2.8.2.3.1.1 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p86949275568">Set Operator</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.1.2.8.2.3.1.2 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p134273438384"><span><img id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_image842012438389" src="figure/en-us_image_0000001813599244.jpg"></span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_row12694027185611"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.1.2.8.2.3.1.1 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p15694162735616">Sort</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.1.2.8.2.3.1.2 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p188921830113813"><span><img id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_image1688611308384" src="figure/en-us_image_0000001860319161.jpg"></span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_row156942272564"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.1.2.8.2.3.1.1 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p7694162718565">Stream</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.1.2.8.2.3.1.2 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p079516144387"><span><img id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_image17788714203812" src="figure/en-us_image_0000001813599236.jpg"></span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_row13694627105613"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.1.2.8.2.3.1.1 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p76941527185618">Union</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.1.2.8.2.3.1.2 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p154498033815"><span><img id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_image1844016043813" src="figure/en-us_image_0000001860319141.jpg"></span></p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_row26941274565"><td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.1.2.8.2.3.1.1 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p1869414277564">Unknown</p>
</td>
<td class="cellrowborder" valign="top" width="50%" headers="mcps1.3.4.1.2.8.2.3.1.2 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p189394618378"><span><img id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_image1578194612374" src="figure/en-us_image_0000001813599228.jpg"></span></p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p72793416311">You can hover over highlighted cells to identify the heaviest, costliest, and slowest nodes. Cells can only be highlighted in <strong id="EN-US_TOPIC_0000001813439072__b102654416111">Tree Format</strong>.</p>
<p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p11109172512345">If multiple queries are selected, the explain plan with/without <strong id="EN-US_TOPIC_0000001813439072__b4250104831111">Include Analyze</strong> selected is displayed only for the last query.</p>
<p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p462194417532">Each execution plan generated from executing a query is opened on a new tab page.</p>
<p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p32211191541">If the connection is lost during execution but the database remains connected in <strong id="EN-US_TOPIC_0000001813439072__b612215515115">Object Browser</strong>, the <strong id="EN-US_TOPIC_0000001813439072__b2122155591119">Connection Error</strong> dialog box is displayed with the following options:</p>
<ul id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_ul6694927165617"><li id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_li19347154317562"><strong id="EN-US_TOPIC_0000001813439072__b10299935161210">OK</strong>: Connects to the database again to obtain the execution plan and cost.</li><li id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_li17660191355618"><strong id="EN-US_TOPIC_0000001813439072__b1246153913121">Cancel</strong>: Disconnects the database from <strong id="EN-US_TOPIC_0000001813439072__b12461103920128">Object Browser</strong>.</li></ul>
<p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p1555273020573">Toolbar menu in the <strong id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_b016834642412">Execution Plan</strong> window:</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_table469482755617" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_row169415272566"><th align="left" class="cellrowborder" valign="top" width="21.21212121212121%" id="mcps1.3.4.1.2.15.1.4.1.1"><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p13694162718561"><strong id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_b1475814144583">Toolbar Name</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15.151515151515152%" id="mcps1.3.4.1.2.15.1.4.1.2"><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p17694162725611">Icon</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="63.63636363636363%" id="mcps1.3.4.1.2.15.1.4.1.3"><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p8694152710564"><strong id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_b15288030175813">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_row1569418277566"><td class="cellrowborder" valign="top" width="21.21212121212121%" headers="mcps1.3.4.1.2.15.1.4.1.1 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p1469442718569">Tree Format</p>
</td>
<td class="cellrowborder" valign="top" width="15.151515151515152%" headers="mcps1.3.4.1.2.15.1.4.1.2 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p19557121974716"><span><img id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_image1554921984717" src="figure/en-us_image_0000001860319177.png"></span></p>
</td>
<td class="cellrowborder" valign="top" width="63.63636363636363%" headers="mcps1.3.4.1.2.15.1.4.1.3 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p96161358175811">This icon is used view explain plan in tree format.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_row126941327175617"><td class="cellrowborder" valign="top" width="21.21212121212121%" headers="mcps1.3.4.1.2.15.1.4.1.1 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p19694152715562">Text Format</p>
</td>
<td class="cellrowborder" valign="top" width="15.151515151515152%" headers="mcps1.3.4.1.2.15.1.4.1.2 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p451313674715"><span><img id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_image1550414674716" src="figure/en-us_image_0000001860319165.jpg"></span></p>
</td>
<td class="cellrowborder" valign="top" width="63.63636363636363%" headers="mcps1.3.4.1.2.15.1.4.1.3 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p20820318105912">This icon is used to display explain plan in text format.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_row6694132795619"><td class="cellrowborder" valign="top" width="21.21212121212121%" headers="mcps1.3.4.1.2.15.1.4.1.1 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p369472725617">Copy</p>
</td>
<td class="cellrowborder" valign="top" width="15.151515151515152%" headers="mcps1.3.4.1.2.15.1.4.1.2 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p2042085214618"><span><img id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_image1741155219461" src="figure/en-us_image_0000001813599248.jpg"></span></p>
</td>
<td class="cellrowborder" valign="top" width="63.63636363636363%" headers="mcps1.3.4.1.2.15.1.4.1.3 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p267934119592">This icon is used to copy selected data from the <strong id="EN-US_TOPIC_0000001813439072__b33291450181315">Result</strong> tab to clipboard. The shortcut key is <strong id="EN-US_TOPIC_0000001813439072__b19329750121310">Ctrl</strong>+<strong id="EN-US_TOPIC_0000001813439072__b1733075018138">C</strong>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_row769482713568"><td class="cellrowborder" valign="top" width="21.21212121212121%" headers="mcps1.3.4.1.2.15.1.4.1.1 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p469452712566">Commit</p>
</td>
<td class="cellrowborder" valign="top" width="15.151515151515152%" headers="mcps1.3.4.1.2.15.1.4.1.2 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p14257153918465"><span><img id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_image19249183920463" src="figure/en-us_image_0000001860319145.jpg"></span></p>
</td>
<td class="cellrowborder" valign="top" width="63.63636363636363%" headers="mcps1.3.4.1.2.15.1.4.1.3 "><p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p739731614015">This icon is used to save the explain plan in text format.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p1347592710011">For information about refresh, SQL preview, and search bar, see <a href="DWS_DS_035.html#EN-US_TOPIC_0000001860318949__en-us_topic_0185264856_section16147111413113">Execute SQL Queries</a>.</p>
<p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p2689175814917">After you click <strong id="EN-US_TOPIC_0000001813439072__b3980162601420">Refresh</strong>, the <strong id="EN-US_TOPIC_0000001813439072__b1980826161418">EXPLAIN ANALYZE</strong> query is executed again, and the execution plan is updated.</p>
<p id="EN-US_TOPIC_0000001813439072__en-us_topic_0185264426_p34206311028">The result is displayed on the <strong id="EN-US_TOPIC_0000001813439072__b1641774231420">Messages</strong> tab.</p>
</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>