When I started with HE I set up the Device Event and Status numbers above the default settings (100 with most of my devices) hoping that it would help me with trouble shooting any problems in the future I might have with events associated with these devices.
I have just started to monitor and graph my DB size and Free Memory Size with Hub Information Driver and this peeked my curiosity as to how much of an impact the size of these logs have on my DB usage and Free Memory size. My DB usage drops to around 25MB immediately following a reboot, then jumps to around 45-55MB over the next couple of days. Also, my Free Memory jumps to around 500k right after a reboot then gradually drops to around 315k over the next few days. I set up a Rule to reboot when Free memory goes below 300k at this time to pre-empt any potential Hub slowing.
Prior to using LTS with Hubigraph, in order to be able to graph over a 7 day period I had set the Hub Information virtual device to 2000 events and states, so my Device event log has ballooned to over 5000 entries. I have since starting using LTS as the data source for my graphs and so have been able to reduce my Hub Information virtual device to around 200 events, but the existing logs remain.
1). I am wondering what the impact these large event logs have on my DB usage and available free memory, and
2). If there is a significant impact, is there a way to clear these event logs without having to delete each device then re-create each device and re-enter into each Rule, etc. I found that even with a reboot the logs do not reset, so older devices keep growing over time.
Thanks for any help. (If there is no other current way to clear these logs, I would like to suggest this as a requested feature).