forked from docs/doc-exports
Reviewed-by: Mützel, Andrea <andrea.muetzel@t-systems.com> Co-authored-by: Li, Qiao <qiaoli@huawei.com> Co-committed-by: Li, Qiao <qiaoli@huawei.com>
556 lines
55 KiB
HTML
556 lines
55 KiB
HTML
<a name="apm_07_0010"></a><a name="apm_07_0010"></a>
|
||
|
||
<h1 class="topictitle1">SQL</h1>
|
||
<div id="body8662426"><p id="apm_07_0010__en-us_topic_0000001217564316_p1915305320477">This function monitors database access. The databases that can be monitored include the C3P0, Cassandra, ClickHouse, DBCP, Druid, EsRestClient, GaussDB, Hikari, Jetcd, ObsClient, MySQL, PostgreSQL, Oracle, HBase, and MongoDB. APM collects details about executed statements to help you locate performance problems in code.</p>
|
||
<p id="apm_07_0010__en-us_topic_0000001217564316_p106841411414">This section focuses on MySQL database monitoring.</p>
|
||
<div class="section" id="apm_07_0010__en-us_topic_0000001217564316_section11998441263"><h4 class="sectiontitle">Going to the SQL Page</h4><ol id="apm_07_0010__en-us_topic_0000001217564316_ol17556193394311"><li id="apm_07_0010__en-us_topic_0000001217564316_li2099214131348"><span>Log in to the management console.</span></li><li id="apm_07_0010__en-us_topic_0000001217564316_li18411631567"><span>Click <span><img id="apm_07_0010__en-us_topic_0000001217564316_image3783204810110" src="en-us_image_0000001569846696.png"></span> on the left and choose <strong id="apm_07_0010__en-us_topic_0000001217564316_b157841248115">Management & Deployment</strong> > <strong id="apm_07_0010__en-us_topic_0000001217564316_b4789348713">Application Performance Management</strong>.</span></li><li id="apm_07_0010__en-us_topic_0000001217564316_li1555643334315"><span>In the navigation pane, choose <strong id="apm_07_0010__en-us_topic_0000001217564316_b1562164516109">Application Monitoring</strong> > <strong id="apm_07_0010__en-us_topic_0000001217564316_b8681245171014">Metrics</strong>.</span></li><li id="apm_07_0010__en-us_topic_0000001217564316_li14556933194318"><span>In the tree on the left, click <span><img id="apm_07_0010__en-us_topic_0000001217564316_image18976639121017" src="en-us_image_0000001277862689.png"></span> next to the target environment.</span></li><li id="apm_07_0010__en-us_topic_0000001217564316_li9750930145818"><span>Click the <strong id="apm_07_0010__en-us_topic_0000001217564316_b15381320103814">SQL</strong> tab. By default, the MySQL database information of all instances is displayed.</span><p><div class="fignone" id="apm_07_0010__en-us_topic_0000001217564316_fig0761323155115"><span class="figcap"><b>Figure 1 </b>Going to the SQL page</span><br><span><img id="apm_07_0010__en-us_topic_0000001217564316_image20761112317515" src="en-us_image_0000001675948477.png" title="Click to enlarge" class="imgResize"></span></div>
|
||
</p></li><li id="apm_07_0010__en-us_topic_0000001217564316_li4711950184320"><span>On the displayed <strong id="apm_07_0010__en-us_topic_0000001217564316_b66921639133713">SQL</strong> tab page, select a target instance and monitoring item to view the monitoring data in different metric sets.</span><p><div class="fignone" id="apm_07_0010__en-us_topic_0000001217564316_fig18470131565313"><span class="figcap"><b>Figure 2 </b>Selecting an instance and monitoring item</span><br><span><img id="apm_07_0010__en-us_topic_0000001217564316_image447015157539" src="en-us_image_0000001627430564.png" title="Click to enlarge" class="imgResize"></span></div>
|
||
</p></li><li id="apm_07_0010__en-us_topic_0000001217564316_li1724462217266"><span>Select a time range. Default: <strong id="apm_07_0010__en-us_topic_0000001217564316_b17390184372414">Last 20 minutes</strong>.</span><p><p id="apm_07_0010__en-us_topic_0000001217564316_p1117642472615">Options: <strong id="apm_07_0010__en-us_topic_0000001217564316_b8751744172413">Last 20 minutes</strong>, <strong id="apm_07_0010__en-us_topic_0000001217564316_b775154415244">Last hour</strong>, <strong id="apm_07_0010__en-us_topic_0000001217564316_b17752104492416">Last 3 hours</strong>, <strong id="apm_07_0010__en-us_topic_0000001217564316_b12752164410243">Last 6 hours</strong>, <strong id="apm_07_0010__en-us_topic_0000001217564316_b137525448248">Last day</strong>, <strong id="apm_07_0010__en-us_topic_0000001217564316_b1675334452413">Today</strong>, <strong id="apm_07_0010__en-us_topic_0000001217564316_b137531644162416">Yesterday</strong>, <strong id="apm_07_0010__en-us_topic_0000001217564316_b5753144413243">Last week</strong>, <strong id="apm_07_0010__en-us_topic_0000001217564316_b7753344152415">Last month</strong>, or <strong id="apm_07_0010__en-us_topic_0000001217564316_b107541544102418">Custom</strong>.</p>
|
||
<div class="fignone" id="apm_07_0010__en-us_topic_0000001217564316_fig1432711443415"><span class="figcap"><b>Figure 3 </b>Selecting a time range</span><br><span><img id="apm_07_0010__en-us_topic_0000001217564316_image19908125642119" src="en-us_image_0000001602510794.png" title="Click to enlarge" class="imgResize"></span></div>
|
||
</p></li><li id="apm_07_0010__en-us_topic_0000001217564316_li4899722612"><span>Click <span><img id="apm_07_0010__en-us_topic_0000001217564316_image151320514247" src="en-us_image_0000001650953141.png"></span> in the upper right corner of the list and select the metric data you want to view.</span></li></ol>
|
||
</div>
|
||
<div class="section" id="apm_07_0010__en-us_topic_0000001217564316_section8840136399"><h4 class="sectiontitle">Viewing MySQL Database Monitoring Data</h4><p id="apm_07_0010__en-us_topic_0000001217564316_p5172617143613"><strong id="apm_07_0010__en-us_topic_0000001217564316_b25191917347">SQL summary</strong></p>
|
||
<p id="apm_07_0010__en-us_topic_0000001217564316_p1840914111574">APM can monitor MySQL databases by SQL. For details about the metrics, see <a href="#apm_07_0010__en-us_topic_0000001217564316_table835410610214">Table 1</a>. Click <span><img id="apm_07_0010__en-us_topic_0000001217564316_image1124613504106" src="en-us_image_0000001278062153.png"></span> in the upper right corner of the list and select the metric data you want to view.</p>
|
||
<div class="fignone" id="apm_07_0010__en-us_topic_0000001217564316_fig1660141318572"><span class="figcap"><b>Figure 4 </b>SQL summary under MySQL database monitoring</span><br><span><img id="apm_07_0010__en-us_topic_0000001217564316_image160513165719" src="en-us_image_0000001627751380.png" title="Click to enlarge" class="imgResize"></span></div>
|
||
|
||
<div class="tablenoborder"><a name="apm_07_0010__en-us_topic_0000001217564316_table835410610214"></a><a name="en-us_topic_0000001217564316_table835410610214"></a><table cellpadding="4" cellspacing="0" summary="" id="apm_07_0010__en-us_topic_0000001217564316_table835410610214" frame="border" border="1" rules="all"><caption><b>Table 1 </b>SQL summary parameters</caption><thead align="left"><tr id="apm_07_0010__en-us_topic_0000001217564316_row1335519612114"><th align="left" class="cellrowborder" valign="top" width="26.232623262326232%" id="mcps1.3.4.5.2.4.1.1"><p id="apm_07_0010__en-us_topic_0000001217564316_p1355136172113">Metric Set</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="32.58325832583258%" id="mcps1.3.4.5.2.4.1.2"><p id="apm_07_0010__en-us_topic_0000001217564316_p193555692114">Metric</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="41.18411841184118%" id="mcps1.3.4.5.2.4.1.3"><p id="apm_07_0010__en-us_topic_0000001217564316_p33551567217">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="apm_07_0010__en-us_topic_0000001217564316_row135514612119"><td class="cellrowborder" rowspan="17" valign="top" width="26.232623262326232%" headers="mcps1.3.4.5.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p789016332329">SQL monitoring</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="32.58325832583258%" headers="mcps1.3.4.5.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p1535514622119">sql</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="41.18411841184118%" headers="mcps1.3.4.5.2.4.1.3 "><p id="apm_07_0010__en-us_topic_0000001217564316_p5355146122112">Unique ID of the SQL statement, which is used for alarm configuration</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row16355116102110"><td class="cellrowborder" valign="top" headers="mcps1.3.4.5.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p14355960215">SQL Statement</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.5.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p1935513642110">SQL statement</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row13551866218"><td class="cellrowborder" valign="top" headers="mcps1.3.4.5.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p113551267216">Calls</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.5.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p123555615215">Number of times that the SQL statement is called</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row9355136172119"><td class="cellrowborder" valign="top" headers="mcps1.3.4.5.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p9355146172113">Avg RT (ms)</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.5.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p104496258318">Average response time (ms)</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row43555612216"><td class="cellrowborder" valign="top" headers="mcps1.3.4.5.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p5355463218">Errors</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.5.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p1135512615219">Number of errors that the SQL statement encounters</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row435516612215"><td class="cellrowborder" valign="top" headers="mcps1.3.4.5.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p73564622119">Rows Read</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.5.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p203561869212">Number of read rows of the SQL statement</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row33564682117"><td class="cellrowborder" valign="top" headers="mcps1.3.4.5.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p8356068217">Rows Updated</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.5.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p23567610216">Number of updated rows of the SQL statement</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row2027195719263"><td class="cellrowborder" valign="top" headers="mcps1.3.4.5.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p9271175710268">Max Concurrency</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.5.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p9271185719269">Maximum concurrency of the SQL statement</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row15271175722610"><td class="cellrowborder" valign="top" headers="mcps1.3.4.5.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p13271657162610">Max RT (ms)</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.5.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p32711757122617">Maximum response time of the SQL statement</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row1419565216271"><td class="cellrowborder" valign="top" headers="mcps1.3.4.5.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p525414962812">0 ms–10 ms</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.5.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p1225419962816">Number of requests with 0 ms–10 ms response time</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row1719635212720"><td class="cellrowborder" valign="top" headers="mcps1.3.4.5.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p153581214122810">10 ms–100 ms</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.5.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p10358714102812">Number of requests with 10 ms–100 ms response time</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row5196195212274"><td class="cellrowborder" valign="top" headers="mcps1.3.4.5.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p8218519112819">100 ms–200 ms</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.5.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p18218519132813">Number of requests with 100 ms–200 ms response time</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row1619605232713"><td class="cellrowborder" valign="top" headers="mcps1.3.4.5.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p6569102316283">200 ms–1s</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.5.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p7569323192812">Number of requests with 200 ms–1s response time</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row319765232713"><td class="cellrowborder" valign="top" headers="mcps1.3.4.5.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p28461727192814">1s–10s</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.5.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p2084682714281">Number of requests with 1s–10s response time</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row11972052162713"><td class="cellrowborder" valign="top" headers="mcps1.3.4.5.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p5917163214287">10s–n</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.5.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p18917532132818">Number of requests with response time longer than 10s</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row9272457152610"><td class="cellrowborder" valign="top" headers="mcps1.3.4.5.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p72723574266">Slowest Trace</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.5.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p1827218572267">ID of the slowest trace in a collection period</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row13272145792614"><td class="cellrowborder" valign="top" headers="mcps1.3.4.5.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p8272957192619">Error Trace</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.5.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p1272135717263">ID of the trace that encounters an error in a collection period</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<ul id="apm_07_0010__en-us_topic_0000001217564316_ul52701432172117"><li id="apm_07_0010__en-us_topic_0000001217564316_li19270832102119">Click an SQL statement to view details.</li><li id="apm_07_0010__en-us_topic_0000001217564316_li15809172843210">Click a number in blue (such as those in the <strong id="apm_07_0010__en-us_topic_0000001217564316_b7695347722">Calls</strong> or <strong id="apm_07_0010__en-us_topic_0000001217564316_b1569510476216">Avg RT (ms)</strong> column) to view more details.</li><li id="apm_07_0010__en-us_topic_0000001217564316_li9819103532816">Click a slow or an error trace to view its details.</li></ul>
|
||
<p id="apm_07_0010__en-us_topic_0000001217564316_p10276134863616"><strong id="apm_07_0010__en-us_topic_0000001217564316_b162791918174013">Database summary</strong></p>
|
||
<p id="apm_07_0010__en-us_topic_0000001217564316_p184144383412">APM can summarize MySQL database metrics by database. For details about the metrics, see <a href="#apm_07_0010__en-us_topic_0000001217564316_table17186112310356">Table 2</a>.</p>
|
||
<div class="fignone" id="apm_07_0010__en-us_topic_0000001217564316_fig16506103414581"><span class="figcap"><b>Figure 5 </b>Database summary under MySQL database monitoring</span><br><span><img id="apm_07_0010__en-us_topic_0000001217564316_image250613445813" src="en-us_image_0000001676071449.png" title="Click to enlarge" class="imgResize"></span></div>
|
||
|
||
<div class="tablenoborder"><a name="apm_07_0010__en-us_topic_0000001217564316_table17186112310356"></a><a name="en-us_topic_0000001217564316_table17186112310356"></a><table cellpadding="4" cellspacing="0" summary="" id="apm_07_0010__en-us_topic_0000001217564316_table17186112310356" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Database summary parameters</caption><thead align="left"><tr id="apm_07_0010__en-us_topic_0000001217564316_row3186223143516"><th align="left" class="cellrowborder" valign="top" width="17.121712171217123%" id="mcps1.3.4.10.2.4.1.1"><p id="apm_07_0010__en-us_topic_0000001217564316_p181865234352">Metric Set</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="32.313231323132314%" id="mcps1.3.4.10.2.4.1.2"><p id="apm_07_0010__en-us_topic_0000001217564316_p3186142353519">Metric</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="50.565056505650574%" id="mcps1.3.4.10.2.4.1.3"><p id="apm_07_0010__en-us_topic_0000001217564316_p1018682313517">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="apm_07_0010__en-us_topic_0000001217564316_row121861523143511"><td class="cellrowborder" rowspan="15" valign="top" width="17.121712171217123%" headers="mcps1.3.4.10.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p518662311357">Database connections</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="32.313231323132314%" headers="mcps1.3.4.10.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p581023493716">db</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50.565056505650574%" headers="mcps1.3.4.10.2.4.1.3 "><p id="apm_07_0010__en-us_topic_0000001217564316_p17810734143718">Database name</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row5187182313350"><td class="cellrowborder" valign="top" headers="mcps1.3.4.10.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p124693506379">Connections Created</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.10.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p0469175014377">Number of connections created by the database</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row1518792317354"><td class="cellrowborder" valign="top" headers="mcps1.3.4.10.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p1150111013813">Connections Destroyed</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.10.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p55014019388">Number of the database's connections that have been destroyed</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row191872236353"><td class="cellrowborder" valign="top" headers="mcps1.3.4.10.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p17187523123512">Avg RT (ms)</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.10.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p2187523163519">Average response time (ms)</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row8187122393510"><td class="cellrowborder" valign="top" headers="mcps1.3.4.10.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p1494771311383">Calls</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.10.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p10947113183815">Number of times that the database is called</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row11187122393518"><td class="cellrowborder" valign="top" headers="mcps1.3.4.10.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p14176629113817">Errors</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.10.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p16176162914387">Number of errors that the database encounters</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row61871823153510"><td class="cellrowborder" valign="top" headers="mcps1.3.4.10.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p48201740123817">Rows Read</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.10.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p28201440173812">Number of rows read from the database</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row81881423173519"><td class="cellrowborder" valign="top" headers="mcps1.3.4.10.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p13884048183811">Rows Updated</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.10.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p1888464803816">Number of rows updated in the database</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row1818852313515"><td class="cellrowborder" valign="top" headers="mcps1.3.4.10.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p232615196394">Max RT (ms)</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.10.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p2881411396">Maximum response time of the database</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row14188182315353"><td class="cellrowborder" valign="top" headers="mcps1.3.4.10.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p1218815239355">0 ms–10 ms</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.10.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p91883234355">Number of requests with 0 ms–10 ms response time</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row141881623153518"><td class="cellrowborder" valign="top" headers="mcps1.3.4.10.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p4188162312351">10 ms–100 ms</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.10.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p318832317352">Number of requests with 10 ms–100 ms response time</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row11188112317356"><td class="cellrowborder" valign="top" headers="mcps1.3.4.10.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p1188102310358">100 ms–200 ms</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.10.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p318892343516">Number of requests with 100 ms–200 ms response time</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row111881223143518"><td class="cellrowborder" valign="top" headers="mcps1.3.4.10.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p51895233358">200 ms–1s</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.10.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p9189523103515">Number of requests with 200 ms–1s response time</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row018982353513"><td class="cellrowborder" valign="top" headers="mcps1.3.4.10.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p11891223193515">1s–10s</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.10.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p1418982373515">Number of requests with 1s–10s response time</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row19189132373518"><td class="cellrowborder" valign="top" headers="mcps1.3.4.10.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p81891239356">10s–n</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.10.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p181895235356">Number of requests with response time longer than 10s</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<p id="apm_07_0010__en-us_topic_0000001217564316_p12408112603810">Click a number in blue (such as those in the <strong id="apm_07_0010__en-us_topic_0000001217564316_b835715501498">Calls</strong> or <strong id="apm_07_0010__en-us_topic_0000001217564316_b13571550292">Avg RT (ms)</strong> column) to view more details.</p>
|
||
<p id="apm_07_0010__en-us_topic_0000001217564316_p2892183516214"><strong id="apm_07_0010__en-us_topic_0000001217564316_b13230527103417">Exception</strong></p>
|
||
<p id="apm_07_0010__en-us_topic_0000001217564316_p4861551204711">On the <strong id="apm_07_0010__en-us_topic_0000001217564316_b1981143131014">Exception</strong> tab page, view exception statistics about SQL calls. For details about the metrics, see <a href="#apm_07_0010__en-us_topic_0000001217564316_table16208113154714">Table 3</a>.</p>
|
||
<div class="fignone" id="apm_07_0010__en-us_topic_0000001217564316_fig20159190807"><span class="figcap"><b>Figure 6 </b>Viewing exception statistics about SQL calls</span><br><span><img id="apm_07_0010__en-us_topic_0000001217564316_image9159200500" src="en-us_image_0000001676072105.png" title="Click to enlarge" class="imgResize"></span></div>
|
||
|
||
<div class="tablenoborder"><a name="apm_07_0010__en-us_topic_0000001217564316_table16208113154714"></a><a name="en-us_topic_0000001217564316_table16208113154714"></a><table cellpadding="4" cellspacing="0" summary="" id="apm_07_0010__en-us_topic_0000001217564316_table16208113154714" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Exception parameters</caption><thead align="left"><tr id="apm_07_0010__en-us_topic_0000001217564316_row18208173114475"><th align="left" class="cellrowborder" valign="top" width="17.121712171217123%" id="mcps1.3.4.15.2.4.1.1"><p id="apm_07_0010__en-us_topic_0000001217564316_p1520853164710">Metric Set</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="32.313231323132314%" id="mcps1.3.4.15.2.4.1.2"><p id="apm_07_0010__en-us_topic_0000001217564316_p20208193111470">Metric</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="50.565056505650574%" id="mcps1.3.4.15.2.4.1.3"><p id="apm_07_0010__en-us_topic_0000001217564316_p18208143164717">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="apm_07_0010__en-us_topic_0000001217564316_row112080312473"><td class="cellrowborder" rowspan="6" valign="top" width="17.121712171217123%" headers="mcps1.3.4.15.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p16208173112475">Exception</p>
|
||
<p id="apm_07_0010__en-us_topic_0000001217564316_p832085193616"></p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="32.313231323132314%" headers="mcps1.3.4.15.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p9208103119476">causeType</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50.565056505650574%" headers="mcps1.3.4.15.2.4.1.3 "><p id="apm_07_0010__en-us_topic_0000001217564316_p648012367488">Exception class</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row220913164715"><td class="cellrowborder" valign="top" headers="mcps1.3.4.15.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p1520910319477">exceptionType</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.15.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p920911313472">Exception type</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row11209153144711"><td class="cellrowborder" valign="top" headers="mcps1.3.4.15.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p11553857144818">Count</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.15.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p13553857184813">Number of exceptions</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row2020917312479"><td class="cellrowborder" valign="top" headers="mcps1.3.4.15.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p168451267492">SQL</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.15.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p98454654916">SQL statement that encounters an exception</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row72096318478"><td class="cellrowborder" valign="top" headers="mcps1.3.4.15.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p11147101774913">Error Stack</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.15.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p714761711499">Exception stack information</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row143190513364"><td class="cellrowborder" valign="top" headers="mcps1.3.4.15.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p288013440174">Message</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.15.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p14880134431720">Error message</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<p id="apm_07_0010__en-us_topic_0000001217564316_p0623355124116"><strong id="apm_07_0010__en-us_topic_0000001217564316_b2782152310110">Overview</strong></p>
|
||
<p id="apm_07_0010__en-us_topic_0000001217564316_p311118213403">On the <strong id="apm_07_0010__en-us_topic_0000001217564316_b113521531411">Overview</strong> tab page, view the call trend of the selected instance. For details about the metrics, see <a href="#apm_07_0010__en-us_topic_0000001217564316_table37611034174720">Table 4</a>.</p>
|
||
<div class="fignone" id="apm_07_0010__en-us_topic_0000001217564316_fig1934122215218"><span class="figcap"><b>Figure 7 </b>Overview</span><br><span><img id="apm_07_0010__en-us_topic_0000001217564316_image63414220211" src="en-us_image_0000001676192573.png" title="Click to enlarge" class="imgResize"></span></div>
|
||
|
||
<div class="tablenoborder"><a name="apm_07_0010__en-us_topic_0000001217564316_table37611034174720"></a><a name="en-us_topic_0000001217564316_table37611034174720"></a><table cellpadding="4" cellspacing="0" summary="" id="apm_07_0010__en-us_topic_0000001217564316_table37611034174720" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Overview parameters</caption><thead align="left"><tr id="apm_07_0010__en-us_topic_0000001217564316_row9761234124714"><th align="left" class="cellrowborder" valign="top" width="17.121712171217123%" id="mcps1.3.4.19.2.4.1.1"><p id="apm_07_0010__en-us_topic_0000001217564316_p576113415474">Metric Set</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="32.313231323132314%" id="mcps1.3.4.19.2.4.1.2"><p id="apm_07_0010__en-us_topic_0000001217564316_p97611634204716">Metric</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="50.565056505650574%" id="mcps1.3.4.19.2.4.1.3"><p id="apm_07_0010__en-us_topic_0000001217564316_p1776153424719">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="apm_07_0010__en-us_topic_0000001217564316_row776123412474"><td class="cellrowborder" rowspan="5" valign="top" width="17.121712171217123%" headers="mcps1.3.4.19.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p1576111342478">Overview</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="32.313231323132314%" headers="mcps1.3.4.19.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p13209622195212">Calls</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50.565056505650574%" headers="mcps1.3.4.19.2.4.1.3 "><p id="apm_07_0010__en-us_topic_0000001217564316_p1209162255213">Total number of calls</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row17621334124718"><td class="cellrowborder" valign="top" headers="mcps1.3.4.19.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p10982193019521">Rows Read</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.19.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p0982113014528">Total number of read rows</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row87621534114712"><td class="cellrowborder" valign="top" headers="mcps1.3.4.19.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p2762143464719">Avg RT (ms)</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.19.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p77621234184716">Average response time (ms)</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row1976293414717"><td class="cellrowborder" valign="top" headers="mcps1.3.4.19.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p19310101219180">Errors</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.19.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p5310191210180">Total number of errors</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row1763153410477"><td class="cellrowborder" valign="top" headers="mcps1.3.4.19.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p664813411539">Rows Updated</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.4.19.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p8648446536">Number of rows updated in the database</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<p id="apm_07_0010__en-us_topic_0000001217564316_p122271922154017"><strong id="apm_07_0010__en-us_topic_0000001217564316_b2310182201111">Info</strong></p>
|
||
<p id="apm_07_0010__en-us_topic_0000001217564316_p186611529144018">On the <strong id="apm_07_0010__en-us_topic_0000001217564316_b1721516585278">Info</strong> tab page, view the driver version information. Click the text in blue to view more details.</p>
|
||
<div class="fignone" id="apm_07_0010__en-us_topic_0000001217564316_fig1649915512311"><span class="figcap"><b>Figure 8 </b>Info</span><br><span><img id="apm_07_0010__en-us_topic_0000001217564316_image15000551535" src="en-us_image_0000001676273437.png" title="Click to enlarge" class="imgResize"></span></div>
|
||
</div>
|
||
<div class="section" id="apm_07_0010__en-us_topic_0000001217564316_section389151223017"><h4 class="sectiontitle">Viewing Druid Connection Pool Monitoring Data</h4><p id="apm_07_0010__en-us_topic_0000001217564316_p141471217183013">The Druid connection pool monitoring system collects data sources, connection details, additional configurations, and exception information. You can click <span><img id="apm_07_0010__en-us_topic_0000001217564316_image14123174218436" src="en-us_image_0000001471158206.png"></span> in the upper right corner of the list to customize the columns you want to view. For details about the metrics, see <a href="#apm_07_0010__en-us_topic_0000001217564316_table1274416195551">Table 5</a>.</p>
|
||
|
||
<div class="tablenoborder"><a name="apm_07_0010__en-us_topic_0000001217564316_table1274416195551"></a><a name="en-us_topic_0000001217564316_table1274416195551"></a><table cellpadding="4" cellspacing="0" summary="" id="apm_07_0010__en-us_topic_0000001217564316_table1274416195551" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Druid connection pool parameters</caption><thead align="left"><tr id="apm_07_0010__en-us_topic_0000001217564316_row37451619115517"><th align="left" class="cellrowborder" valign="top" width="17.121712171217123%" id="mcps1.3.5.3.2.4.1.1"><p id="apm_07_0010__en-us_topic_0000001217564316_p8745619145520">Metric Set</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="32.313231323132314%" id="mcps1.3.5.3.2.4.1.2"><p id="apm_07_0010__en-us_topic_0000001217564316_p1774581918554">Metric</p>
|
||
</th>
|
||
<th align="left" class="cellrowborder" valign="top" width="50.565056505650574%" id="mcps1.3.5.3.2.4.1.3"><p id="apm_07_0010__en-us_topic_0000001217564316_p187451719155516">Description</p>
|
||
</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody><tr id="apm_07_0010__en-us_topic_0000001217564316_row117451198555"><td class="cellrowborder" rowspan="14" valign="top" width="17.121712171217123%" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p374561918556">Data source</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="32.313231323132314%" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p14857111111226">Connection Address</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50.565056505650574%" headers="mcps1.3.5.3.2.4.1.3 "><p id="apm_07_0010__en-us_topic_0000001217564316_p345124915291">Connection address</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row9745191965510"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p866613623010">Driver</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p46661762308">Driver name</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row1474521911555"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p447261619305">Initialized Connections</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p447251643013">Number of initialized connections</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row8746171918556"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p1540515261306">Min Idle Connections in Pool</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p3405426183010">Minimum of idle connections in a pool</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row1746519105515"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p396412309309">Max Idle Connections in Pool</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p9964163014302">Maximum number of idle connections in a pool</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row11912741145614"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p991224185613">Max Connections in Pool</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p209131412561">Maximum number of connections in a pool</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row1191304165612"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p1791344135613">Idle Connections</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p9869518124319">Number of idle connections</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row49137414562"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p17913441125616">Max Idle Connections</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p16869318124314">Maximum number of idle connections</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row12913184165610"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p13913194155620">Active Connections</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p4913104135620">Number of active connections</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row291374111562"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p1914541105618">Max Active Connections</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p191494115619">Maximum number of active connections</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row1891411413562"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p169161841175618">Waiting Threads</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p199161041175618">Number of waiting threads</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row10230546205616"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p423015464561">Max Waiting Threads</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p14806563241">Maximum number of waiting threads</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row7231174611568"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p10231546155619">Upper Limit for Waiting Threads</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p1423111465568">Upper limit for waiting threads</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row13231164615561"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p623124610563">Total Connections</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p623164614566">Total number of connections</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row1023144618564"><td class="cellrowborder" rowspan="13" valign="top" width="17.121712171217123%" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p10231174615560">Connection details</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="32.313231323132314%" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p157715218487">Connection Address</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50.565056505650574%" headers="mcps1.3.5.3.2.4.1.3 "><p id="apm_07_0010__en-us_topic_0000001217564316_p77711427486">Connection address</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row182311746195616"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p0442148104819">Calls</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p14442186488">Number of calls</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row1623114616565"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p1631891474813">Total RT (ms)</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p2031811415485">Total response time (ms)</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row1232124615620"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p19232194618564">Avg RT (ms)</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p12232164665615">Average response time (ms)</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row102321446165613"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p20581332124816">Errors</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p1858932204817">Number of errors</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row1623213466562"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p13560113710489">Max Concurrency</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p856093719484">Maximum number of concurrent connections</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row1323218468561"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p165711264919">Max RT (ms)</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p175732114910">Maximum response time</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row623264618568"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p39077812497">0 ms–10 ms</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p6907188114913">Number of requests with 0 ms–10 ms response time</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row923224635616"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p6160141418498">10 ms–100 ms</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p12160181434913">Number of requests with 10 ms–100 ms response time</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row1038613454482"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p9770171914917">100 ms–500 ms</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p19770161920491">Number of requests with 100 ms–500 ms response time</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row5386194514480"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p1378502412495">500 ms–1s</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p1778522404914">Number of requests with 500 ms–1s response time</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row1438644584812"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p197231929164917">1s–10s</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p37231729154910">Number of requests with 1s–10s response time</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row738610458485"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p52821348494">10s–n</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p228233494912">Number of requests with response time longer than 10s</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row12387114519485"><td class="cellrowborder" rowspan="10" valign="top" width="17.121712171217123%" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p33871945114818">Additional configuration</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="32.313231323132314%" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p1229918810269">Connection Address</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50.565056505650574%" headers="mcps1.3.5.3.2.4.1.3 "><p id="apm_07_0010__en-us_topic_0000001217564316_p202993822611">Connection address</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row16387745174813"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p5385124012515">Max Wait (ms)</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p18386184015519">Maximum waiting time</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row7387114518489"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p538794511487">Test on Borrow</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p138774574817">Whether to verify the validity of a connection before obtaining it from the connection pool</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row13871145134816"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p8387194513485">Test on Return</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p8387194510489">Whether to verify the validity of a connection when it is returned</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row18387345124818"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p938824513484">Test While Idle</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p1197912113304">Whether to verify the validity of an idle connection when an application applies for it from the pool</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row0388545114819"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p153241385510">Remove Abandoned</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p133215138554">Whether to automatically reclaim timeout connections</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row5388114516486"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p15554928125712">Remove Abandoned TimeoutMillis (ms)</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p65541328175716">If a connection in the pool is not returned within the specified duration, the connection will be reclaimed.</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row1538820456480"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p6388445184812">Remove Abandoned Count</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p182011029103510">Number of timeout connection reclaims</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row1388124544813"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p33883454486">Min Evictable Idle TimeMillis (ms)</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p113881445114810">Minimum idle time of a connection in the pool</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row238854514480"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p938915459484">Time Between EvictionRunsMillis (ms)</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p19389945124811">Interval for checking the validity of idle connections</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row16389845194815"><td class="cellrowborder" rowspan="5" valign="top" width="17.121712171217123%" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p159421619079">Exception</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="32.313231323132314%" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p9270117184">causeType</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50.565056505650574%" headers="mcps1.3.5.3.2.4.1.3 "><p id="apm_07_0010__en-us_topic_0000001217564316_p14270147582">Exception class</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row0389145144812"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p638911416814">Exception Type</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p103893144815">Exception type</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row038974517482"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p1955215221181">Count</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p16552922488">Number of times the exception has occurred</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row1138994514811"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p197111233782">Error Message</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p1171183314811">Message returned when the exception has occurred</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row16390194594814"><td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p15117439289">Error Stack</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p011763911810">Exception stack information</p>
|
||
</td>
|
||
</tr>
|
||
<tr id="apm_07_0010__en-us_topic_0000001217564316_row1939064513489"><td class="cellrowborder" valign="top" width="17.121712171217123%" headers="mcps1.3.5.3.2.4.1.1 "><p id="apm_07_0010__en-us_topic_0000001217564316_p14390245204815">Version</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="32.313231323132314%" headers="mcps1.3.5.3.2.4.1.2 "><p id="apm_07_0010__en-us_topic_0000001217564316_p1039084510482">Driver Version</p>
|
||
</td>
|
||
<td class="cellrowborder" valign="top" width="50.565056505650574%" headers="mcps1.3.5.3.2.4.1.3 "><p id="apm_07_0010__en-us_topic_0000001217564316_p10390204594814">Driver version</p>
|
||
</td>
|
||
</tr>
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<ul id="apm_07_0010__en-us_topic_0000001217564316_en-us_topic_0000001262004153_ul20338143012118"><li id="apm_07_0010__en-us_topic_0000001217564316_en-us_topic_0000001262004153_li1033813300111">Click a number in blue (such as those in the <strong id="apm_07_0010__en-us_topic_0000001217564316_b319852162219">Calls</strong> or <strong id="apm_07_0010__en-us_topic_0000001217564316_b31991425220">Avg RT (ms)</strong> column) to view more details.</li><li id="apm_07_0010__en-us_topic_0000001217564316_li11144141416535">Click the text in blue (such as those in the <strong id="apm_07_0010__en-us_topic_0000001217564316_b93013390248">Driver</strong> or <strong id="apm_07_0010__en-us_topic_0000001217564316_b168821751192412">Driver Version</strong> column) to view more details.</li></ul>
|
||
<div class="fignone" id="apm_07_0010__en-us_topic_0000001217564316_fig186381393811"><span class="figcap"><b>Figure 9 </b>Viewing Druid connection pool monitoring data</span><br><span><img id="apm_07_0010__en-us_topic_0000001217564316_image13638797819" src="en-us_image_0000001675954833.png" title="Click to enlarge" class="imgResize"></span></div>
|
||
</div>
|
||
</div>
|
||
<div>
|
||
<div class="familylinks">
|
||
<div class="parentlink"><strong>Parent topic:</strong> <a href="apm_07_0005.html">Application Monitoring Details</a></div>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
<script language="JavaScript">
|
||
<!--
|
||
image_size('.imgResize');
|
||
var msg_imageMax = "view original image";
|
||
var msg_imageClose = "close";
|
||
//--></script> |