Manual:$wgMultiShardSiteStats

From Linux Web Expert

Revision as of 11:29, 22 August 2022 by imported>Seb35 (Replace <source> tags by <syntaxhighlight> tags)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Details

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.