Confluence Cache Statistics - reset

I would like to be able to reset the hit/miss/expiry stats on the cache page when flushing the caches within Confluence.

When we modify the size of the cache it would be handy to have these zerod so that we can get a better picture of how the numbers are growing alongside the tuning.

Has anyone found a way of doing this? I've not found anything obvious in the database or the vm files that I have checked so far and none of the documentation goes further than just altering the numbers and flushing.

This is generally based around Confluence 5.3 and up.

2 answers

1 accepted

2 votes
Accepted answer

Hey Steve,

As far as I'm aware that is not possible to achieve within Confluence, however if you clear the cache directory most of those Hit / Miss / Evicted values will be reseted and re uploaded as you restart Confluence, what you can do is to folow below guide to clean the cache directories and see if that works for you?

If you want I can also raise an improvement request so the flush all button on cache statistcs would also reset those values.

Thanks and Regards,

David|Confluence Support Engineer

Thanks, I can confirm that the full clean of the directories does indeed clear the stats, but it would be good if you can raise the improvement request aswell.

This would allow us to check/monitor the usage without having to restart Confluence.

Imrpovement request created :):

Thanks and Regards,

David|Confluence Support Engineer

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,029 views 51 8
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you