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>
21 lines
6.9 KiB
HTML
21 lines
6.9 KiB
HTML
<a name="EN-US_TOPIC_0000002088734265"></a><a name="EN-US_TOPIC_0000002088734265"></a>
|
|
|
|
<h1 class="topictitle1">Table Diagnosis</h1>
|
|
<div id="body8662426"><p id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_p8060118">GaussDB(DWS) provides statistics and diagnostic tools for you to learn table status, including:</p>
|
|
<ul id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_ul191544312613"><li id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_li9915104352615">Skew Rate: monitors and analyzes uneven data distribution in a cluster, and displays information about the 50 largest tables whose skew rate is higher than 5%.</li><li id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_li391519439261">Dirty Page Rate: monitors and analyzes dirty pages in a cluster, and displays information about the 50 largest tables whose dirty page rate is higher than 50%.</li></ul>
|
|
<div class="section" id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_section88392211094"><h4 class="sectiontitle">Skew Rate</h4><p id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_p3986135215915">Improper distribution columns can cause severe skew during operator computing or data spill to disk. The workloads will be unevenly distributed on DNs, resulting in high disk usage on individual DNs and affecting their performance. After identifying tables with a high skew rate and a relatively large size, you can reselect distribution columns for these tables to have their data redistributed. </p>
|
|
<p id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_p380518551611"><strong id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_b1898031312163">Procedure</strong></p>
|
|
<ol id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_ol1502183983316"><li id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_en-us_topic_0000001076708691_li1040416861710"><span>Log in to the GaussDB(DWS) console.</span></li><li id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_en-us_topic_0000001076708691_li14404488172"><span>Choose <strong id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_b166001352132716">Dedicated Clusters</strong> > <strong id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_b126001752182711">Clusters<span id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_text166001152102717"></span></strong> and locate the cluster to be monitored.</span></li><li id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_en-us_topic_0000001076708691_li15632517113712"><span>In the <strong id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_b98882882132918">Operation</strong> column of the target cluster, click <strong id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_b116674588532918">Monitoring Panel</strong>.</span></li><li id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_li88321642155214"><span>In the navigation tree on the left, choose <strong id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_b184203291219">Utilities</strong> > <strong id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_b7583211211">Table Diagnosis</strong> and click the <strong id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_b135193214124">Skew Rate</strong> tab. The tables that meet the statistics collection conditions in the cluster are displayed.</span></li></ol>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_section199365318174"><h4 class="sectiontitle">Dirty Page Rate</h4><p id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_p1033185511383">DML operations on tables may generate dirty data, which unnecessarily occupies cluster storage. You can identify tables with a high dirty page rate and a relatively large size, and handle them accordingly..</p>
|
|
<p id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_p16701181812175"><strong id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_b21391614191912">Procedure</strong></p>
|
|
<ol id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_ol1377562215195"><li id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_li1077652218198"><span>Log in to the GaussDB(DWS) console.</span></li><li id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_li77767226195"><span>Choose <strong id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_b9853125514276">Dedicated Clusters</strong> > <strong id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_b16854135582714">Clusters<span id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_text1854155519277"></span></strong> and locate the cluster to be monitored.</span></li><li id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_li1776102291917"><span>In the <strong id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_b98283623132918">Operation</strong> column of the target cluster, click <strong id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_b20039571332918">Monitoring Panel</strong>.</span></li><li id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_li15707101413164"><span>In the navigation tree on the left, choose <strong id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_b43832037171217">Utilities</strong> > <strong id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_b12384737161214">Table Diagnosis</strong> and click the <strong id="EN-US_TOPIC_0000002088734265__en-us_topic_0000002080845589_en-us_topic_0000001431595257_b14384163716122">Dirty Page Rate</strong> tab. The tables that meet the statistics collection conditions in the cluster are displayed.</span></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_04_0403.html">Performance Diagnosis</a></div>
|
|
</div>
|
|
</div>
|
|
|