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>
123 lines
11 KiB
HTML
123 lines
11 KiB
HTML
<a name="EN-US_TOPIC_0000001764491608"></a><a name="EN-US_TOPIC_0000001764491608"></a>
|
|
|
|
<h1 class="topictitle1">PG_BULKLOAD_STATISTICS</h1>
|
|
<div id="body0000001089258840"><p id="EN-US_TOPIC_0000001764491608__p8060118">On any normal node in a cluster, <strong id="EN-US_TOPIC_0000001764491608__b12435101092215">PG_BULKLOAD_STATISTICS</strong> displays the execution status of the import and export services. Each import or export service corresponds to a record. This view is accessible only to users with system administrators rights.</p>
|
|
|
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001764491608__table158732593611" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PG_BULKLOAD_STATISTICS columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001764491608__row2936459564"><th align="left" class="cellrowborder" valign="top" width="21.682168216821683%" id="mcps1.3.2.2.4.1.1"><p id="EN-US_TOPIC_0000001764491608__p16936059265"><strong id="EN-US_TOPIC_0000001764491608__b1481493824619">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="27.602760276027606%" id="mcps1.3.2.2.4.1.2"><p id="EN-US_TOPIC_0000001764491608__p19361459469"><strong id="EN-US_TOPIC_0000001764491608__b6232543124617">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50.71507150715071%" id="mcps1.3.2.2.4.1.3"><p id="EN-US_TOPIC_0000001764491608__p49361059864"><strong id="EN-US_TOPIC_0000001764491608__b46525162">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001764491608__row14936159365"><td class="cellrowborder" valign="top" width="21.682168216821683%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491608__p1293611591360">node_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.602760276027606%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491608__p1593615591669">Text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.71507150715071%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491608__p109365591364">Node name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491608__row179375598614"><td class="cellrowborder" valign="top" width="21.682168216821683%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491608__p9937759460">db_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.602760276027606%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491608__p993713591465">Text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.71507150715071%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491608__p159377591662">Database name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491608__row593720596613"><td class="cellrowborder" valign="top" width="21.682168216821683%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491608__p1393795914614">query_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.602760276027606%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491608__p15937165913618">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.71507150715071%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491608__p179375598620">Query ID. It is equivalent to <strong id="EN-US_TOPIC_0000001764491608__b842352706144235">debug_query_id</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491608__row7937185911610"><td class="cellrowborder" valign="top" width="21.682168216821683%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491608__p139373591162">tid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.602760276027606%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491608__p693717591568">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.71507150715071%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491608__p9937559862">ID of the current thread</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491608__row2093775919616"><td class="cellrowborder" valign="top" width="21.682168216821683%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491608__p7937145914610">lwtid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.602760276027606%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491608__p1693719596614">Integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.71507150715071%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491608__p18937175918613">Lightweight thread ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491608__row493745917613"><td class="cellrowborder" valign="top" width="21.682168216821683%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491608__p293716591163">session_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.602760276027606%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491608__p119372591664">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.71507150715071%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491608__p993765912612">GDS session ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491608__row793716591261"><td class="cellrowborder" valign="top" width="21.682168216821683%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491608__p1937359262">direction</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.602760276027606%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491608__p29378591964">Text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.71507150715071%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491608__p4937105918618">Service type. The options are <strong id="EN-US_TOPIC_0000001764491608__b1148143817474">gds to file</strong>, <strong id="EN-US_TOPIC_0000001764491608__b1212424004715">gds from file</strong>, <strong id="EN-US_TOPIC_0000001764491608__b17409124320473">gds to pipe</strong>, <strong id="EN-US_TOPIC_0000001764491608__b83605475478">gds from pipe</strong>, <strong id="EN-US_TOPIC_0000001764491608__b1382317512471">copy from</strong>, and <strong id="EN-US_TOPIC_0000001764491608__b2193659144713">copy to</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491608__row8937105920618"><td class="cellrowborder" valign="top" width="21.682168216821683%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491608__p199372059661">query</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.602760276027606%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491608__p19371659863">Text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.71507150715071%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491608__p39371059661">Query statement</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491608__row1993710599617"><td class="cellrowborder" valign="top" width="21.682168216821683%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491608__p1593710591169">address</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.602760276027606%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491608__p89378591617">Text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.71507150715071%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491608__p1093712591167">Location of the foreign table used for data import and export</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491608__row193716595618"><td class="cellrowborder" valign="top" width="21.682168216821683%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491608__p99370593615">query_start</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.602760276027606%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491608__p209381359165">Timestamp with time zone</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.71507150715071%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491608__p139381259665">Start time of data import or export</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491608__row169382591365"><td class="cellrowborder" valign="top" width="21.682168216821683%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491608__p109386594616">total_bytes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.602760276027606%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491608__p1293835910619">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.71507150715071%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491608__p293835917615">Total size of data to be processed</p>
|
|
<p id="EN-US_TOPIC_0000001764491608__p1531912211841">This parameter is specified only when a GDS common file is to be imported and the record in the row comes from a CN. Otherwise, left this parameter unspecified.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491608__row093865911616"><td class="cellrowborder" valign="top" width="21.682168216821683%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491608__p159384591161">phase</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.602760276027606%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491608__p693818599614">Text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.71507150715071%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491608__p593855914614">Execution phase of the current service import and export. The options are <strong id="EN-US_TOPIC_0000001764491608__b1164716115252">INITIALIZING</strong>, <strong id="EN-US_TOPIC_0000001764491608__b19453115152516">TRANSFER_DATA</strong>, and <strong id="EN-US_TOPIC_0000001764491608__b1944518188251">RELEASE_RESOURCE</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491608__row149381059160"><td class="cellrowborder" valign="top" width="21.682168216821683%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491608__p1938559467">done_lines</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.602760276027606%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491608__p493811595617">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.71507150715071%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491608__p10938105912619">Number of lines that have been transferred</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001764491608__row8938135917618"><td class="cellrowborder" valign="top" width="21.682168216821683%" headers="mcps1.3.2.2.4.1.1 "><p id="EN-US_TOPIC_0000001764491608__p14938125913618">done_bytes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.602760276027606%" headers="mcps1.3.2.2.4.1.2 "><p id="EN-US_TOPIC_0000001764491608__p1793865919613">Bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.71507150715071%" headers="mcps1.3.2.2.4.1.3 "><p id="EN-US_TOPIC_0000001764491608__p9938135920616">Number of bytes that have been transferred</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>
|
|
|