Hi,

We are currently using an H2 standalone server with HikariCP JDBC 
connection pool and its "maxLifeTime" setting allows to renew all JDBC 
connections in an interval of 30 minutes by default.
As a result, we noticed that the H2 database cache is emptied every 30 
minutes (see screenshot in attached files)
So we think that this behavior is not optimal ...

What is the condition that makes the cache cleaned up? is it because all 
sessions are disconnected by HikariCP ?

Another question : when we look at H2 MBeans we don't understand why 
"CacheSize" is greater than "FileSize" ? 

Thanks
Mansour.

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to