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?

https://confluence.atlassian.com/display/CONFKB/How+to+Clear+Confluence+Plugins+Cache

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 :):

https://jira.atlassian.com/browse/CONF-34588

Thanks and Regards,

David|Confluence Support Engineer

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,177 views 20 14
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