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>
250 lines
25 KiB
HTML
250 lines
25 KiB
HTML
<a name="EN-US_TOPIC_0000001764491148"></a><a name="EN-US_TOPIC_0000001764491148"></a>
|
|
|
|
<h1 class="topictitle1">PGXC_INSTR_UNIQUE_SQL</h1>
|
|
<div id="body1578646433480"><p id="EN-US_TOPIC_0000001764491148__p8060118"><strong id="EN-US_TOPIC_0000001764491148__b59619385368">PGXC_INSTR_UNIQUE_SQL</strong> displays the complete Unique SQL statistics of all CN nodes in the cluster.</p>
|
|
<p id="EN-US_TOPIC_0000001764491148__p37342317441">Only the system administrator can access this view. The columns in this view are the same as those in the <strong id="EN-US_TOPIC_0000001764491148__b1418183618478">GS_INSTR_UNIQUE_SQL</strong> view. For details about columns in the view, see <a href="#EN-US_TOPIC_0000001764491148__table1350052261017">Table 1</a>.</p>
|
|
|
|
<div class="tablenoborder"><a name="EN-US_TOPIC_0000001764491148__table1350052261017"></a><a name="table1350052261017"></a><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001764491148__table1350052261017" frame="border" border="1" rules="all"><caption><b>Table 1 </b>GS_INSTR_UNIQUE_SQL columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_row9500522141017"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.3.2.4.1.1"><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p12500622171013"><strong id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_b8872807314360">Column</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.3.2.4.1.2"><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p16500122211101">Type</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.3.2.4.1.3"><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p16500172231014">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_row1650052251011"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p450132211011">node_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p205011222106">Name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p850142213100">Name of the CN that receives SQL statements</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_row19501822161019"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p205012229103">node_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p1550142291011">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p850142213109">Node ID, which is the same as the value of <strong id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_b15418326173215">node_id</strong> in the <strong id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_b12897103012329">pgxc_node</strong> table</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_row1050113222106"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p850152216101">user_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p1250111226102">Name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p7501122213100">Username</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_row1150172220104"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p10501112291010">user_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p650182210101">OID</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p1550152241010">User ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_row12501722151014"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p155018223102">unique_sql_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p1750162212104">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p165017220103">Normalized Unique SQL ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_row1650142220108"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p1850182219100">query</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p105011322191016">Text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p1050112224103">Normalized SQL text</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_row135011822171013"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p150192281016">n_calls</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p950112220102">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p150118225102">Number of successful execution times</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_row0276998618"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p102765916611">min_elapse_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p20276291568">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p12761097611">Minimum running time of the SQL statement in the database (unit: μs)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_row20525461763"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p11525106766">max_elapse_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p75253612617">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p19525869617">Maximum running time of SQL statements in the database (unit: μs)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_row5346127617"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p143461922612">total_elapse_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p1346321066">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p9346628619">Total running time of SQL statements in the database (unit: μs)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_row8858051251"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p188582051552">n_returned_rows</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p5858145119518">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p985875114518">Row activity - Number of rows in the result set returned by the <strong id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_b1426555620330">SELECT</strong> statement</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_row083817581252"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p19838135810516">n_tuples_fetched</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p3838158851">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p17838358653">Row activity - Randomly scan rows (column-store tables/foreign tables are not counted.)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_row1334615558516"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p133462551515">n_tuples_returned</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p934685518512">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p73471755158">Row activity - Sequential scan rows (Column-store tables/foreign tables are not counted.)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_row43015330612"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p1630143318612">n_tuples_inserted</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p1301633968">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p143015332610">Row activity - Inserted rows</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_row66914517618"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p1969245767">n_tuples_updated</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p13701945263">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p17704458614">Row activity - Updated rows</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_row9236194217614"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p122361142362">n_tuples_deleted</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p32360421968">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p323674214612">Row activity - Deleted rows</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_row7355539361"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p73551939562">n_blocks_fetched</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p535516391060">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p1035513911612">Block access times of the buffer, that is, physical read/I/O</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_row1321718361162"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p82174361615">n_blocks_hit</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p321753614618">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p621793612616">Block hits of the buffer, that is, logical read/cache</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_row1497179874"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p18972094718">n_soft_parse</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p698392711">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p5988915719">Number of soft parsing times (cache plan)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_row3705181810719"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p1470519181678">n_hard_parse</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p370515181076">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p18706131814714">Number of hard parsing times (generation plan)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_row1814410154713"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p1614451513719">db_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p201441015270">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p10144515774">Valid DB execution time, including the waiting time and network sending time. If multiple threads are involved in query execution, the value of <strong id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_b1312714470294">DB_TIME</strong> is the sum of <strong id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_b151271947112916">DB_TIME</strong> of multiple threads (unit: μs).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_row1450233375"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p45193312714">cpu_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p351203311719">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p125115337710">CPU execution time, excluding the sleep time (unit: μs)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_row13618360718"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p103611361873">execution_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p736133617712">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p1136163620714">SQL execution time in the query executor, DDL statements, and statements (such as Copy statements) that are not executed by the executor are not counted (unit: μs).</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_row108684412076"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p78681411079">parse_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p886894117711">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p1686816411471">SQL parsing time (unit: μs)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_row4151639779"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p215439771">plan_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p1515239777">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p11518391676">SQL generation plan time (unit: μs)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_row551719128717"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p10517412571">rewrite_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p12517171220713">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p9517111220711">SQL rewriting time (unit: μs)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_row11587059671"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p55871259675">pl_execution_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p958716591778">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p958713591076">Execution time of the plpgsql procedural language function (unit: μs)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_row483228813"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p183327815">pl_compilation_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p208352983">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p98311213818">Compilation time of the plpgsql procedural language function (unit: μs)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_row81665161882"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p1716619162820">net_send_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p116616161820">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p4166191615810">Network time, including the time spent by the CN in sending data to the client and the time spent by the DN in sending data to the CN (unit: μs)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_row181954191988"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p71950191488">data_io_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p131959190810">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p1619514196810">File I/O time (unit: μs)</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_row515495822717"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p1632713135281">first_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p83271913122819">Timestamp with time zone</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p6327713172811">Time of the first SQL statement execution</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_row1515545812277"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p1832815131285">last_time</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p7328111311287">Timestamp with time zone</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491148__en-us_topic_0000001764650132_p5328181372819">Time of the last SQL statement execution</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<p id="EN-US_TOPIC_0000001764491148__p33394195919"></p>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_0639.html">System Views</a></div>
|
|
</div>
|
|
</div>
|
|
|