Monitoring Resources on Pramati Server 22 Overview Pramati Server enables you to monitor details regarding a datasource only. A datasource provides pooled connections to applications. The physical connections are obtained from a JDBC Connection Factory and pooled by the datasource. Along with pooling, the datasource provides other configurable features like connection validation, pool sizes, connection time out, and pool refresh interval. Monitoring a datasource for a J2EE application For monitoring a datasource on the Console, select Monitor > Resources in the Explore panel. The screen displays the following information: Table 1: Details regarding a datasource Close Count Discarded Count Waiting Thread Count Cache Hit Ratio The JNDI name link. The number of connections that have been closed. The number of connections that have been removed from the pool. The number of threads waiting for a connection from pool. This is the ratio between the number of prepared statements returned from cache to the number of prepared statements created afresh. Connection Use Time (ms) The duration for which the connection was used. Pool Size Free Pool Size The number of connections in the pool. The number of free connections in the pool.
246 Pramati Server 3.5 Administration Guide Fig Monitoring a datasource Clicking on a datasource name link takes you to a screen displaying all the details related to that particular datasource: Fig Viewing details of a datasource
CHAPTER 22 Monitoring Resources on Pramati Server 247 The following details are provided: 1 Connections 2 Time 3 Waiting Threads 4 Pool 5 Cache 6 Statement Execution Time Connections The details provided regarding connections are: Table 2: Connection details Connections Started The number of connections that have been started Connections Closed The number of connections that have been closed Connections Discarded The number of connections that have been removed from the pool Connection Use Time The following details are provided for the time for which connections were used: Table 3: Connection Use time details Count Time Time Time The number of connections that have been used The minimum time for which the connection was used The maximum time for which the connection was used The average time for which the connection was used Waiting Threads The details provided regarding waiting threads are: Table 4: Waiting Threads details The minimum number of waiting threads The maximum number of waiting threads The average number of waiting threads
248 Pramati Server 3.5 Administration Guide Clicking Details under Waiting Thread Count on the Monitor > Resources main screen displays the following information: Table 5: Details provided for the waiting thread count The JNDI name The minimum number of waiting threads The maximum number of waiting threads The average number of waiting threads Pool The details provided regarding pools are: Table 6: Pool size details The minimum pool size that can be retained. The maximum pool size that can be retained. Clicking Details under Pool Size on the Monitor > Resources main screen displays the following details: Table 7: Details provided for the Pool size Limit Limit The JNDI name. The minimum connections in the pool. The maximum connections in the pool. The average connections in the pool. The minimum pool size that can be retained. The maximum pool size that can be retained. Free Pool Size Clicking Details under Free Pool Size on the Monitor > Resources main screen displays the following details: Table 8: Details provided for the Free Pool size The JNDI name. The minimum connections in the free pool.
CHAPTER 22 Monitoring Resources on Pramati Server 249 Table 8: Details provided for the Free Pool size Limit Limit The maximum connections in the free pool. The average connections in the free pool. The minimum free pool size that can be retained. The maximum free pool size that can be retained. Cache The details provided regarding cache are: Table 9: Cache size details Prepared Statement from cache The number of prepared statements returned from cache Prepared Statement created The number of prepared statements created afresh Ratio This is the ratio between the number of prepared statements returned from cache to the number of prepared statements created afresh Clicking Details under Cache Hit Ratio on the Monitor > Resources main screen displays the following details: Table 10: Details provided for the Cache Hit Ratio First Count Second Count Ratio The JNDI name The number of prepared statements returned from cache The number of prepared statements created afresh This is the ratio between the number of prepared statements returned from cache to the number of prepared statements created afresh Statements Execution time The details provided regarding the execution time of statements are: Table 11: Details about time taken for execution of Statements Count The total number of statements to be executed The minimum time for execution of the statements The maximum time for execution of the statements The average time for execution of the statements
250 Pramati Server 3.5 Administration Guide The details in this section may appear as: Fig Details for Statement Execution Time