Size if history table became bigger
-
Hi,
When I looked on fog database size, I found it was much bigger than before (150Mo vs 2Mo usually).
In fact, history table is around 146Mo, but I don’t know why it grows so quickly…
I truncate it 10 minutes ago and there’s already 3000 lines which look like this :[2016-03-17 14:02:54] Host ID: 28 NAME: MATT has been successfully updated.
Any reason ?
-
The history table is intended to be a record of events that happens. It looks like somebody is constantly updating the MATT host (maybe others?)
-
I saw into table that each computer update each minute, that’s why there are so many lines…
But I’m pretty sure database and history table was much smaller before latest svn update… -
@Matthieu-Jacquart It was. I added “logging” to the save function, which indeed the host’s do auto update every cycle.
I’ll see if I can get this limited though.
-
@Tom-Elliott After updating to svn 6799, it seems ok, no new line in history table
-
@Matthieu-Jacquart Basically I just stopped recording anything.
For now I’ll not record anything as for some long period of time it wasn’t recording either.
-
I still don’t know if this should be considered a bug, or if it should be considered potentially problematic as it would be constantly updating the history table (creating a fairly large DB file relatively quickly.) People like logging for the most part. They don’t like what it may entail though.
-
@Tom-Elliott Ok I understood… Could it become an option which can be activated if needed in fog settings ?