[wildfly-dev] JDBC stats, clarification needed

Eduardo Sant´Ana da Silva eduardo.santanadasilva at gmail.com
Wed Aug 27 07:33:51 EDT 2014


"Add count" and "miss count" are redundant attributes to me.
I think that only the "miss count" should be used since in cache terms this
is more commonly used and you will surely add them to cache in case of a
miss.


2014-08-27 6:10 GMT-03:00 Heiko Braun <hbraun at redhat.com>:

>
>
> I am trying to make sense of the data source stats and need some help. Can
> someone explain these figures to me? The hit count is smaller then the
> access count. I would expect the other accesses to show up in the miss
> count, but they don't. Is it a bug or do I misinterpret these numbers?
>
> [standalone at localhost:9999 /]
> /subsystem=datasources/data-source=ExampleDS/statistics=jdbc:read-resource(include-runtime=true)
> {
>     "outcome" => "success",
>     "result" => {
>         "PreparedStatementCacheAccessCount" => "41",
>         "PreparedStatementCacheAddCount" => "6",
>         "PreparedStatementCacheCurrentSize" => "6",
>         "PreparedStatementCacheDeleteCount" => "0",
>         "PreparedStatementCacheHitCount" => "35",
>         "PreparedStatementCacheMissCount" => "0",
>         "statistics-enabled" => true
>     }
> }
>
>
> Regards, Heiko
>
> _______________________________________________
> wildfly-dev mailing list
> wildfly-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/wildfly-dev
>



-- 
__________________________
Eduardo Sant'Ana da Silva - Dr.
Pesquisador / Consultor de TI
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/wildfly-dev/attachments/20140827/47c73530/attachment.html 


More information about the wildfly-dev mailing list