Yang, Tong 6182f91ba8 MRS component operation guide_normal 2.0.38.SP20 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Co-authored-by: Yang, Tong <yangtong2@huawei.com>
Co-committed-by: Yang, Tong <yangtong2@huawei.com>
2022-12-09 14:55:21 +00:00

22 lines
2.2 KiB
HTML

<a name="mrs_01_1456"></a><a name="mrs_01_1456"></a>
<h1 class="topictitle1">Query Performance Deterioration</h1>
<div id="body1595920215435"><div class="section" id="mrs_01_1456__s22a5cf3a96b842478e6349b4f03f827b"><h4 class="sectiontitle">Symptom</h4><p id="mrs_01_1456__a376b0153d8a342a29a241fb47b79baa5">The query performance fluctuates when the query is executed in different query periods.</p>
</div>
<div class="section" id="mrs_01_1456__sbbbde5401be74313b214a6a50ea51cda"><h4 class="sectiontitle">Possible Causes</h4><p id="mrs_01_1456__abcc9fef2f78a4c92917951ec6793ccf3">During data loading, the memory configured for each executor program instance may be insufficient, resulting in more Java GCs. When GC occurs, the query performance deteriorates.</p>
</div>
<div class="section" id="mrs_01_1456__sd82796ca00f64301914263254bb77e4f"><h4 class="sectiontitle">Troubleshooting Method</h4><p id="mrs_01_1456__a026889eb23c54ecda77c3ba26c2a3cab">On the Spark UI, the GC time of some executors is obviously higher than that of other executors, or all executors have high GC time.</p>
</div>
<div class="section" id="mrs_01_1456__s340239c5a35940b6b73fb96f9c23bd5d"><h4 class="sectiontitle">Procedure</h4><p id="mrs_01_1456__a3d253efa037a4016ba1bd3d7617fc61f">Log in to Manager and choose <strong id="mrs_01_1456__b41372412517">Cluster</strong> &gt; <strong id="mrs_01_1456__b45501767519">Services</strong> &gt; <strong id="mrs_01_1456__b1639771265118">Spark2x</strong>. On the displayed page, click the <strong id="mrs_01_1456__b128245351518">Configurations</strong> tab and then <strong id="mrs_01_1456__b13452648145117">All Configurations</strong>, search for <strong id="mrs_01_1456__b15145017165218">spark.executor.memory</strong> in the search box, and set its value to a larger value.</p>
<p id="mrs_01_1456__p18238855113213"><span><img id="mrs_01_1456__image123816555322" src="en-us_image_0000001349170105.png"></span></p>
</div>
<div class="section" id="mrs_01_1456__sf780d24b2d3e45289a97c5ce1b538849"><h4 class="sectiontitle">Reference</h4><p id="mrs_01_1456__aed5edf90eaf94ca59db3714e616b925b">None</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="mrs_01_1454.html">CarbonData Troubleshooting</a></div>
</div>
</div>