doc-exports/docs/dws/dev/dws_04_0849.html
Lu, Huayi e6fa411af0 DWS DEV 830.201 version
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>
2024-05-16 07:24:04 +00:00

47 lines
5.3 KiB
HTML

<a name="EN-US_TOPIC_0000001188163560"></a><a name="EN-US_TOPIC_0000001188163560"></a>
<h1 class="topictitle1">PV_INSTANCE_TIME</h1>
<div id="body1578645501793"><p id="EN-US_TOPIC_0000001188163560__p8060118"><strong id="EN-US_TOPIC_0000001188163560__b43381344184818">PV_INSTANCE_TIME</strong> collects statistics on the running time of processes and the time consumed in each execution phase, in microseconds.</p>
<p id="EN-US_TOPIC_0000001188163560__p723818411711"><strong id="EN-US_TOPIC_0000001188163560__b9918123410483">PV_INSTANCE_TIME</strong> records time consumption information of the current node. The time consumption information is classified into the following types:</p>
<ul id="EN-US_TOPIC_0000001188163560__ul1238541578"><li id="EN-US_TOPIC_0000001188163560__li18238041371"><strong id="EN-US_TOPIC_0000001188163560__b2082413540">DB_TIME</strong>: effective time spent by jobs in multi-core scenarios</li><li id="EN-US_TOPIC_0000001188163560__li2238124110710"><strong id="EN-US_TOPIC_0000001188163560__b1968672955416">CPU_TIME</strong>: CPU time spent</li><li id="EN-US_TOPIC_0000001188163560__li323913411874"><strong id="EN-US_TOPIC_0000001188163560__b17382441185412">EXECUTION_TIME</strong>: time spent within executors</li><li id="EN-US_TOPIC_0000001188163560__li12391041770"><strong id="EN-US_TOPIC_0000001188163560__b4141164410542">PARSE_TIME</strong>: time spent on parsing SQL statements</li><li id="EN-US_TOPIC_0000001188163560__li823964111717"><strong id="EN-US_TOPIC_0000001188163560__b18582114645416">PLAN_TIME</strong>: time spent on generating plans</li><li id="EN-US_TOPIC_0000001188163560__li142397411670"><strong id="EN-US_TOPIC_0000001188163560__b567904918547">REWRITE_TIME</strong>: time spent on rewriting SQL statements</li><li id="EN-US_TOPIC_0000001188163560__li14239124119712"><strong id="EN-US_TOPIC_0000001188163560__b5551125405419">PL_EXECUTION_TIME</strong>: execution time of the PL/pgSQL stored procedure</li><li id="EN-US_TOPIC_0000001188163560__li6240134119715"><strong id="EN-US_TOPIC_0000001188163560__b03203586542">PL_COMPILATION_TIME</strong>: compilation time of the PL/pgSQL stored procedure</li><li id="EN-US_TOPIC_0000001188163560__li182401241978"><strong id="EN-US_TOPIC_0000001188163560__b223010255517">NET_SEND_TIME</strong>: time spent on the network</li><li id="EN-US_TOPIC_0000001188163560__li18241174114712"><strong id="EN-US_TOPIC_0000001188163560__b17678166135517">DATA_IO_TIME</strong>: I/O time spent</li></ul>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001188163560__t947b70aeb8dc41899efcd91a37edac7e" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PV_INSTANCE_TIME columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001188163560__r6233859b9a084b0a8f22d13fe93edc11"><th align="left" class="cellrowborder" valign="top" width="18.85%" id="mcps1.3.4.2.4.1.1"><p id="EN-US_TOPIC_0000001188163560__a11d7d9c295414545908f40c0986f70f0">Name</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="19.99%" id="mcps1.3.4.2.4.1.2"><p id="EN-US_TOPIC_0000001188163560__ae77eb98157724ebcb45493c89501ce80">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="61.160000000000004%" id="mcps1.3.4.2.4.1.3"><p id="EN-US_TOPIC_0000001188163560__a7a49f4aa3c9644ff996c34428896f7cd">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001188163560__r8c620a90a6694b149c9e954866e0066c"><td class="cellrowborder" valign="top" width="18.85%" headers="mcps1.3.4.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163560__a9512779324ea49e58dd4cedbef3a5a3f">stat_id</p>
</td>
<td class="cellrowborder" valign="top" width="19.99%" headers="mcps1.3.4.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163560__aa37c2b03fa3f4d2e97bf86da0a72e3b7">integer</p>
</td>
<td class="cellrowborder" valign="top" width="61.160000000000004%" headers="mcps1.3.4.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163560__aea307e4ee1f7481ebb1c353352e24c45">Type ID</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188163560__r7af75441e56d4ff3bdf8dc0f6fd754bd"><td class="cellrowborder" valign="top" width="18.85%" headers="mcps1.3.4.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163560__ab5136f8a92484f80974ae509f3ada9cf">stat_name</p>
</td>
<td class="cellrowborder" valign="top" width="19.99%" headers="mcps1.3.4.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163560__a0e7017798eef410382fa7da171e1cbb9">text</p>
</td>
<td class="cellrowborder" valign="top" width="61.160000000000004%" headers="mcps1.3.4.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163560__addb6774cbd1948138394a19db0c14757">Running time type name</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001188163560__rad0d2f719e414786872b3aff49cb59ee"><td class="cellrowborder" valign="top" width="18.85%" headers="mcps1.3.4.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163560__a64aabfab6bcd44c6ba03c2e77a53568b">value</p>
</td>
<td class="cellrowborder" valign="top" width="19.99%" headers="mcps1.3.4.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163560__ae268ac67a759442d85ccd640e1bec853">bigint</p>
</td>
<td class="cellrowborder" valign="top" width="61.160000000000004%" headers="mcps1.3.4.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163560__a973e1182be7f4f65af1fb85267557457">Running time value</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_0639.html">System Views</a></div>
</div>
</div>