forked from docs/doc-exports
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>
125 lines
12 KiB
HTML
125 lines
12 KiB
HTML
<a name="EN-US_TOPIC_0000001188163592"></a><a name="EN-US_TOPIC_0000001188163592"></a>
|
|
|
|
<h1 class="topictitle1">PGXC_BULKLOAD_STATISTICS</h1>
|
|
<div id="body0000001135750917"><p id="EN-US_TOPIC_0000001188163592__p2995116201"><strong id="EN-US_TOPIC_0000001188163592__b1646625219274">PGXC_BULKLOAD_STATISTICS</strong> displays real-time statistics about service execution, such as GDS, COPY, and \COPY, on a CN. This view summarizes the real-time execution status of import and export services that are being executed on each node in the current cluster. In this way, you can monitor the real-time progress of import and export services and locate performance problems.</p>
|
|
<p id="EN-US_TOPIC_0000001188163592__p8060118">Columns in <strong id="EN-US_TOPIC_0000001188163592__b853018388111">PGXC_BULKLOAD_STATISTICS</strong> are the same as those in <strong id="EN-US_TOPIC_0000001188163592__b1700941201117">PG_BULKLOAD_STATISTICS</strong>. This is because <strong id="EN-US_TOPIC_0000001188163592__b201951550121120">PGXC_BULKLOAD_STATISTICS</strong> is essentially the summary result of querying <strong id="EN-US_TOPIC_0000001188163592__b974811151218">PG_BULKLOAD_STATISTICS</strong> on each node in the cluster.</p>
|
|
<p id="EN-US_TOPIC_0000001188163592__p12221064549">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_0000001188163592__table158732593611" frame="border" border="1" rules="all"><caption><b>Table 1 </b>PGXC_BULKLOAD_STATISTICS columns</caption><thead align="left"><tr id="EN-US_TOPIC_0000001188163592__row2936459564"><th align="left" class="cellrowborder" valign="top" width="21.682168216821683%" id="mcps1.3.4.2.4.1.1"><p id="EN-US_TOPIC_0000001188163592__p16936059265"><strong id="EN-US_TOPIC_0000001188163592__b103318810128">Name</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="27.602760276027606%" id="mcps1.3.4.2.4.1.2"><p id="EN-US_TOPIC_0000001188163592__p19361459469"><strong id="EN-US_TOPIC_0000001188163592__b198621486122">Type</strong></p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="50.71507150715071%" id="mcps1.3.4.2.4.1.3"><p id="EN-US_TOPIC_0000001188163592__p49361059864"><strong id="EN-US_TOPIC_0000001188163592__b17738179151219">Description</strong></p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="EN-US_TOPIC_0000001188163592__row14936159365"><td class="cellrowborder" valign="top" width="21.682168216821683%" headers="mcps1.3.4.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163592__p1293611591360">node_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.602760276027606%" headers="mcps1.3.4.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163592__p1593615591669">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.71507150715071%" headers="mcps1.3.4.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163592__p109365591364">Node name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188163592__row179375598614"><td class="cellrowborder" valign="top" width="21.682168216821683%" headers="mcps1.3.4.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163592__p9937759460">db_name</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.602760276027606%" headers="mcps1.3.4.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163592__p993713591465">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.71507150715071%" headers="mcps1.3.4.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163592__p159377591662">Database name</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188163592__row593720596613"><td class="cellrowborder" valign="top" width="21.682168216821683%" headers="mcps1.3.4.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163592__p1393795914614">query_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.602760276027606%" headers="mcps1.3.4.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163592__p15937165913618">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.71507150715071%" headers="mcps1.3.4.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163592__p179375598620">Query ID. It is equivalent to <strong id="EN-US_TOPIC_0000001188163592__b1885620184123">debug_query_id</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188163592__row7937185911610"><td class="cellrowborder" valign="top" width="21.682168216821683%" headers="mcps1.3.4.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163592__p139373591162">tid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.602760276027606%" headers="mcps1.3.4.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163592__p693717591568">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.71507150715071%" headers="mcps1.3.4.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163592__p9937559862">ID of the current thread</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188163592__row2093775919616"><td class="cellrowborder" valign="top" width="21.682168216821683%" headers="mcps1.3.4.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163592__p7937145914610">lwtid</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.602760276027606%" headers="mcps1.3.4.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163592__p1693719596614">integer</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.71507150715071%" headers="mcps1.3.4.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163592__p18937175918613">Lightweight thread ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188163592__row493745917613"><td class="cellrowborder" valign="top" width="21.682168216821683%" headers="mcps1.3.4.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163592__p293716591163">session_id</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.602760276027606%" headers="mcps1.3.4.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163592__p119372591664">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.71507150715071%" headers="mcps1.3.4.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163592__p993765912612">GDS session ID</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188163592__row793716591261"><td class="cellrowborder" valign="top" width="21.682168216821683%" headers="mcps1.3.4.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163592__p1937359262">direction</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.602760276027606%" headers="mcps1.3.4.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163592__p29378591964">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.71507150715071%" headers="mcps1.3.4.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163592__p4937105918618">Service type. The options are <strong id="EN-US_TOPIC_0000001188163592__b28267573121">gds to file</strong>, <strong id="EN-US_TOPIC_0000001188163592__b6832175719125">gds from file</strong>, <strong id="EN-US_TOPIC_0000001188163592__b78328572121">gds to pipe</strong>, <strong id="EN-US_TOPIC_0000001188163592__b2083315791217">gds from pipe</strong>, <strong id="EN-US_TOPIC_0000001188163592__b4833155711129">copy from</strong>, and <strong id="EN-US_TOPIC_0000001188163592__b1183345715126">copy to</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188163592__row8937105920618"><td class="cellrowborder" valign="top" width="21.682168216821683%" headers="mcps1.3.4.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163592__p199372059661">query</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.602760276027606%" headers="mcps1.3.4.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163592__p19371659863">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.71507150715071%" headers="mcps1.3.4.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163592__p39371059661">Query statement</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188163592__row1993710599617"><td class="cellrowborder" valign="top" width="21.682168216821683%" headers="mcps1.3.4.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163592__p1593710591169">address</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.602760276027606%" headers="mcps1.3.4.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163592__p89378591617">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.71507150715071%" headers="mcps1.3.4.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163592__p1093712591167">Location of the foreign table used for data import and export</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188163592__row193716595618"><td class="cellrowborder" valign="top" width="21.682168216821683%" headers="mcps1.3.4.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163592__p99370593615">query_start</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.602760276027606%" headers="mcps1.3.4.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163592__p209381359165">timestamp with time zone</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.71507150715071%" headers="mcps1.3.4.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163592__p139381259665">Start time of data import or export</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188163592__row169382591365"><td class="cellrowborder" valign="top" width="21.682168216821683%" headers="mcps1.3.4.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163592__p109386594616">total_bytes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.602760276027606%" headers="mcps1.3.4.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163592__p1293835910619">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.71507150715071%" headers="mcps1.3.4.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163592__p1645410493516">Total size of data to be processed</p>
|
|
<p id="EN-US_TOPIC_0000001188163592__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_0000001188163592__row093865911616"><td class="cellrowborder" valign="top" width="21.682168216821683%" headers="mcps1.3.4.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163592__p159384591161">phase</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.602760276027606%" headers="mcps1.3.4.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163592__p693818599614">text</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.71507150715071%" headers="mcps1.3.4.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163592__p593855914614">Current phase. The options are <strong id="EN-US_TOPIC_0000001188163592__b0794123161416">INITIALIZING</strong>, <strong id="EN-US_TOPIC_0000001188163592__b425122781414">TRANSFER_DATA</strong>, and <strong id="EN-US_TOPIC_0000001188163592__b8355143011144">RELEASE_RESOURCE</strong>.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188163592__row149381059160"><td class="cellrowborder" valign="top" width="21.682168216821683%" headers="mcps1.3.4.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163592__p1938559467">done_lines</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.602760276027606%" headers="mcps1.3.4.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163592__p493811595617">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.71507150715071%" headers="mcps1.3.4.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163592__p10938105912619">Number of lines that have been transferred</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="EN-US_TOPIC_0000001188163592__row8938135917618"><td class="cellrowborder" valign="top" width="21.682168216821683%" headers="mcps1.3.4.2.4.1.1 "><p id="EN-US_TOPIC_0000001188163592__p14938125913618">done_bytes</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="27.602760276027606%" headers="mcps1.3.4.2.4.1.2 "><p id="EN-US_TOPIC_0000001188163592__p1793865919613">bigint</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="50.71507150715071%" headers="mcps1.3.4.2.4.1.3 "><p id="EN-US_TOPIC_0000001188163592__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>
|
|
|