Hey,
I am trying to understand the hit count functionality better in our environment. CPM Doctor lists that the hitcount table should not exceed 3 mill records. It doesn't seem like a hard limit, simply a recommendation.
Our table consist of 8.2 million records and is 1.8 gb - retention time is set to 1 year for each of our 10 domains holding around 300 firewalls
I see in the table that each rule has an entry for each day for the duration of your selected retention in global properties.
Does SmartConsle work with this table when displaying hitcounts? summing up, and finding first and last hit from this table?
Last hit is very important to us, but if a rule had 18 hits the 20th of november 2022 I could care less.
This brings the question if this size is hurting our Smart Console performance. It's not very bad, but not good either...
Furthermore the table seem extremely inefficient. If a fireall or a rule is deleted - associated entries are not cleaned from this table.
only clean up seems to be when an entry falls out of the retention period. Furthermore there is one table for all domains in a MDS againt hurting queries.
I have a diamond engineer helping me out of this (6-0003562742) but maybe anyone had practical experience.
if you want to poke around:
psql_client monitoring postgres -c "select * from hitcount;" > mon-db.txt
[Expert@mdshost-01:0]# wc -l mon-db.txt
8273288 mon-db.txt
/Henrik