Manual:$wgMultiShardSiteStats
From Linux Web Expert
<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 |
<translate> Other settings:</translate> <translate> Alphabetical</translate> | <translate> By function</translate> |
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.