Jump to content

Manual:$wgMultiShardSiteStats

From mediawiki.org
Performance hacks and limits: $wgMultiShardSiteStats
Whether site_stats table should have multiple rows.
Introduced in version:1.39.0 (Gerrit change 786389; git #5156ae04)
Removed in version:Still in use
Allowed values:(boolean)
Default value:false

Details

[edit]

Whether site_stats table should have multiple rows. If set to true, in each update, one of ten rows gets updated at random to reduce lock wait time in wikis that have lots of concurrent edits. It should be set to true in really large wikis with big flow of edits, Otherwise it can cause inaccuracy in data.