<div dir="ltr"><div>"Add count" and "miss count" are redundant attributes to me.</div><div>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.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-08-27 6:10 GMT-03:00 Heiko Braun <span dir="ltr"><<a href="mailto:hbraun@redhat.com" target="_blank">hbraun@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div><br></div><div><br></div><div>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?</div>
<div><br></div><div><div style="margin:0px;font-size:14px;font-family:'Source Code Pro';color:rgb(149,165,167);background-color:rgb(0,57,70)">[standalone@localhost:9999 /] /subsystem=datasources/data-source=ExampleDS/statistics=jdbc:read-resource(include-runtime=true)</div>
<div style="margin:0px;font-size:14px;font-family:'Source Code Pro';color:rgb(149,165,167);background-color:rgb(0,57,70)">{</div><div style="margin:0px;font-size:14px;font-family:'Source Code Pro';color:rgb(149,165,167);background-color:rgb(0,57,70)">
"outcome" => "success",</div><div style="margin:0px;font-size:14px;font-family:'Source Code Pro';color:rgb(149,165,167);background-color:rgb(0,57,70)"> "result" => {</div>
<div style="margin:0px;font-size:14px;font-family:'Source Code Pro';color:rgb(149,165,167);background-color:rgb(0,57,70)"> "PreparedStatementCacheAccessCount" => "41",</div><div style="margin:0px;font-size:14px;font-family:'Source Code Pro';color:rgb(149,165,167);background-color:rgb(0,57,70)">
"PreparedStatementCacheAddCount" => "6",</div><div style="margin:0px;font-size:14px;font-family:'Source Code Pro';color:rgb(149,165,167);background-color:rgb(0,57,70)"> "PreparedStatementCacheCurrentSize" => "6",</div>
<div style="margin:0px;font-size:14px;font-family:'Source Code Pro';color:rgb(149,165,167);background-color:rgb(0,57,70)"> "PreparedStatementCacheDeleteCount" => "0",</div><div style="margin:0px;font-size:14px;font-family:'Source Code Pro';color:rgb(149,165,167);background-color:rgb(0,57,70)">
"PreparedStatementCacheHitCount" => "35",</div><div style="margin:0px;font-size:14px;font-family:'Source Code Pro';color:rgb(149,165,167);background-color:rgb(0,57,70)"> "PreparedStatementCacheMissCount" => "0",</div>
<div style="margin:0px;font-size:14px;font-family:'Source Code Pro';color:rgb(149,165,167);background-color:rgb(0,57,70)"> "statistics-enabled" => true</div><div style="margin:0px;font-size:14px;font-family:'Source Code Pro';color:rgb(149,165,167);background-color:rgb(0,57,70)">
}</div><div style="margin:0px;font-size:14px;font-family:'Source Code Pro';color:rgb(149,165,167);background-color:rgb(0,57,70)">}</div></div><div><br></div><div><br></div><div>Regards, Heiko</div></div><br>_______________________________________________<br>
wildfly-dev mailing list<br>
<a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>
<span style="font-family:Arial;font-size:small">________________</span><span style="font-family:Arial;font-size:small">__________</span><br></div><div><div align="left" style="font-family:Arial;font-size:small">Eduardo Sant'Ana da Silva - Dr.</div>
<div style="font-family:Arial;font-size:small"><font face="Arial">Pesquisador / Consultor de TI<br></font></div><div style="font-family:Arial;font-size:small"><br></div></div></div>
</div>