Manual talk:$wgHitcounterUpdateFreq

I don't get this. Does this mean if it is set to a high number, that the statistics will be less accurate, or just that it won't hurt the DB as much and will still be the same stats? Does that make sense? --12.219.111.23 04:05, 12 April 2007 (UTC)


 * The statistics will still be gathered accurately, it just will be shown with some delay. --CodeMonk 03:29, 18 June 2008 (UTC)


 * Sure? Because "any higher value n cause them to update on average every n hits" doesn't sound like that. --Subfader 14:10, 30 April 2010 (UTC)


 * To answer my own question: I'm using it for quite a while now and it seems to work properly, although I wonder how it can boost performance??? --Subfader 15:03, 26 May 2010 (UTC)


 * I thought it should be something about privacy, not performance. --219.139.224.121 07:40, 23 May 2010 (UTC)

Database Alleviation?
How exactly does enabling a higher number alleviate database hits? Is it still updating the database every time a person hits a page and only updating the statement at the bottom of pages?

If it's supposed to be stopping the amount of times the database gets updated for each page hit, is it saving this 'average' in JavaScript, or opening and writing to a document? I don't know enough about MediaWiki's internals so i'm not going to update the main page with a better description on how exactly this helps keep database calls down, but it would be much appreciated if someone that knows how this works does update the page.

Just saying "update on average" really doesn't answer any questions on just how that happens.

--Iarp 02:17, 28 October 2010 (UTC)

Technical details
Now that we finally got a technical description about how this works, I wonder even more: How can it be accurate when "if the same page is visited twice (or more) between updates of the page table, it is only counted once."??? Sounds like a non-sense feature to me, sorry. Now that I used it for months I ruined all viewcount stats. Now the only true fact is: "This page has been accessed more than X times". --Subfader 20:59, 9 February 2011 (UTC)