forked from docs/doc-exports
Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com> Co-authored-by: wangdengke2 <wangdengke2@huawei.com> Co-committed-by: wangdengke2 <wangdengke2@huawei.com>
20 lines
4.1 KiB
HTML
20 lines
4.1 KiB
HTML
<a name="EN-US_TOPIC_0000002521502463"></a><a name="EN-US_TOPIC_0000002521502463"></a>
|
|
|
|
<h1 class="topictitle1">Managing Real-Time Sessions</h1>
|
|
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0000002521502463__en-us_topic_0000002014807828_en-us_topic_0000001372555901_section4111051174014"><h4 class="sectiontitle">Scenarios</h4><p id="EN-US_TOPIC_0000002521502463__en-us_topic_0000002014807828_en-us_topic_0000001372555901_p58404544406">You can view current session statistics of your instance and kill abnormal sessions.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002521502463__en-us_topic_0000002014807828_section164951727204818"><h4 class="sectiontitle">Constraints</h4><p id="EN-US_TOPIC_0000002521502463__en-us_topic_0000002014807828_p1175810313486">Killing a session may cause the application to disconnect from the instance. Your application should be able to reconnect to the instance.</p>
|
|
</div>
|
|
<div class="section" id="EN-US_TOPIC_0000002521502463__en-us_topic_0000002014807828_section9386255131014"><h4 class="sectiontitle">Setting a Slow Session Threshold</h4><ol id="EN-US_TOPIC_0000002521502463__en-us_topic_0000002014807828_en-us_topic_0000001372555901_ol105521739133114"><li id="EN-US_TOPIC_0000002521502463__en-us_topic_0000002014807828_li20781201244718"><span>Log in to the management console.</span></li><li id="EN-US_TOPIC_0000002521502463__en-us_topic_0000002014807828_li1178113129471"><span>Click <span><img id="EN-US_TOPIC_0000002521502463__en-us_topic_0000002518288963_en-us_topic_0179843894_image192529212293" src="en-us_image_0000002518409421.png"></span> in the upper left corner and select a region and project.</span></li><li id="EN-US_TOPIC_0000002521502463__en-us_topic_0000002014807828_li1878271212473"><span>Click <span><img id="EN-US_TOPIC_0000002521502463__en-us_topic_0000002518288963_en-us_topic_0179843894_image280016113225" src="en-us_image_0000002486209558.png"></span> in the upper left corner of the page and choose <strong id="EN-US_TOPIC_0000002521502463__en-us_topic_0000002518288963_b157244310216">Databases</strong> > <strong id="EN-US_TOPIC_0000002521502463__en-us_topic_0000002518288963_b135721243182114">TaurusDB</strong>.</span></li><li id="EN-US_TOPIC_0000002521502463__en-us_topic_0000002014807828_en-us_topic_0000001372555901_li1426913204172"><span>On the <strong id="EN-US_TOPIC_0000002521502463__en-us_topic_0000002014807828_b170834076931322">Instances</strong> page, click the instance name.</span></li><li id="EN-US_TOPIC_0000002521502463__en-us_topic_0000002014807828_en-us_topic_0000001372555901_li499974911328"><span>In the navigation pane, choose <strong id="EN-US_TOPIC_0000002521502463__en-us_topic_0000002014807828_b2082620910447">DBA Assistant</strong> > <strong id="EN-US_TOPIC_0000002521502463__en-us_topic_0000002014807828_b682659164416">Real-Time Diagnosis</strong>.</span></li><li id="EN-US_TOPIC_0000002521502463__en-us_topic_0000002014807828_en-us_topic_0000001372555901_li15550224331"><span>Click the <strong id="EN-US_TOPIC_0000002521502463__en-us_topic_0000002014807828_b471910150440">Sessions</strong> tab to view current session statistics by user, access host, and database.</span><p><p id="EN-US_TOPIC_0000002521502463__en-us_topic_0000002014807828_p3862354603"></p>
|
|
</p></li><li id="EN-US_TOPIC_0000002521502463__en-us_topic_0000002014807828_en-us_topic_0000001372555901_li224116153392"><span>In the session list, select the abnormal session you want to kill and click <strong id="EN-US_TOPIC_0000002521502463__en-us_topic_0000002014807828_b497715019492">Kill Session</strong> to recover the database.</span><p><p id="EN-US_TOPIC_0000002521502463__en-us_topic_0000002014807828_p11369644152313">A maximum of 20 sessions can be killed at once.</p>
|
|
<p id="EN-US_TOPIC_0000002521502463__en-us_topic_0000002014807828_p9197655205914">To kill sessions automatically, see <a href="en-us_topic_0000002489182682.html">Using Auto Kill Sessions</a>.</p>
|
|
</p></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0000002489342650.html">Problem Diagnosis</a></div>
|
|
</div>
|
|
</div>
|
|
|