<html>
<head>
    <base href="https://docs.jboss.org/author">
            <link rel="stylesheet" href="/author/s/en/2172/19/5/_/styles/combined.css?spaceKey=TEIID&amp;forWysiwyg=true" type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://docs.jboss.org/author/display/TEIID/Monitoring">Monitoring</a></h2>
    <h4>Page  <b>added</b> by             <a href="https://docs.jboss.org/author/display/~van.halbert">Van Halbert</a>
    </h4>
         <br/>
    <div class="notificationGreySide">
         <div class='panelMacro'><table class='warningMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/author/images/icons/emoticons/forbidden.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td>This section is not complete.</td></tr></table></div>

<p>Teiid provides information that represent the current operational state.  This information can be useful in managing load, through-put and tuning.  The data that is available can be accessed using the different administrative tools (i.e., Admin Console, AdminShell or Admin API).</p>

<h3><a name="Monitoring-Thefollowingisinformationthatdetailsthecurrentload%3A"></a>The following is information that details the current load:</h3>

<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'>Name</th>
<th class='confluenceTh'>Description</th>
</tr>
<tr>
<td class='confluenceTd'>Current Sessions</td>
<td class='confluenceTd'>List current sessions connected </td>
</tr>
<tr>
<td class='confluenceTd'>Current Request</td>
<td class='confluenceTd'>List current executing requests </td>
</tr>
<tr>
<td class='confluenceTd'>Current Transactions</td>
<td class='confluenceTd'>List current executing transactions </td>
</tr>
<tr>
<td class='confluenceTd'>Query Plan</td>
<td class='confluenceTd'>Retrieves the query plan for a specific request </td>
</tr>
</tbody></table>
</div>


<p>There are administrative options for terminating sessions, queries and transactions.  See the Administrative Guide for how to accomplish that task.</p>

<h3><a name="Monitoring-Thefollowingaredatathatismeanttoprovidemeasurableinformation%3A"></a>The following are data that is meant to provide measurable information:</h3>

<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'>Name</th>
<th class='confluenceTh'>Description</th>
<th class='confluenceTh'>Comment</th>
</tr>
<tr>
<td class='confluenceTd'>Long Running Queries</td>
<td class='confluenceTd'>List current executing queries that have surpassed the query threshold (<em>query-threshold-in-seconds</em>).  </td>
<td class='confluenceTd'> Setup alert to warn when one or more queries are consuming resources for an extended period of time.  If running too long, an option is to cancel request. </td>
</tr>
<tr>
<td class='confluenceTd'>Prepared Plan Cache Size </td>
<td class='confluenceTd'>Current number of entries in cache. </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>Prepared Plan Cache # of Requests </td>
<td class='confluenceTd'>Total number of requests made against cache. </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>Prepared Plan Cache Hit Ratio % </td>
<td class='confluenceTd'>Percentage of positive cache hits </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>ResultSet Cache Size </td>
<td class='confluenceTd'>Current number of entries in cache. </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>ResultSet Cache # of Requests </td>
<td class='confluenceTd'>Total number of requests made against cache. </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>ResultSet Cache Hit Ratio % </td>
<td class='confluenceTd'>Percentage of positive cache hits. </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>Query Count </td>
<td class='confluenceTd'> Indicates the number of queries currently active. </td>
<td class='confluenceTd'>&nbsp;</td>
</tr>
<tr>
<td class='confluenceTd'>Session Count </td>
<td class='confluenceTd'> Indicates the number of user connections currently active </td>
<td class='confluenceTd'> To ensure number of sessions are not restricted at peak times, check <em>max-sessions-allowed</em> (default 5000) is set accordingly and review <em>sessions-expiration-timelimit</em> </td>
</tr>
<tr>
<td class='confluenceTd'>Used Buffer Space in MB </td>
<td class='confluenceTd'> Indicates amount of storage space currently used by buffer files </td>
<td class='confluenceTd'> Setup alert to warn when used buffer space is at an unacceptable level, based on the setting of <em>max-buffer-space</em> </td>
</tr>
</tbody></table>
</div>




    </div>
    <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;" class="grey">
                        <a href="https://docs.jboss.org/author/users/removespacenotification.action?spaceKey=TEIID">Stop watching space</a>
            <span style="padding: 0px 5px;">|</span>
                <a href="https://docs.jboss.org/author/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
       <a href="https://docs.jboss.org/author/display/TEIID/Monitoring">View Online</a>
              |
       <a href="https://docs.jboss.org/author/display/TEIID/Monitoring?showComments=true&amp;showCommentArea=true#addcomment">Add Comment</a>
           </div>
</div>
</div>
</div>
</div>
</body>
</html>