Manual:$wgHitcounterUpdateFreq/zh

细节
设置应该更新页面计数器的频率，在数据库上更容易获得更高的值. A value of 1 causes the counters to be updated on every hit, any higher value n cause them to update on average every n hits. Should be set to either 1 or something largish, e.g. 1000, for maximum efficiency.

To disable the page counters entirely, set  to true.

技术细节
When this setting is set to a number bigger than 1, the page id of any page viewed is stored in the  table. About 1 in every *0.25 hits, the number of entries in the hit counter table is checked. If there is more than  entries in the   table, then those pageviews are transfered in batch to the   field (and the   table is emptied).

参见

 * - 作为MediaWiki 1.25+的替代