Page MenuHomePhabricator

FY25-26 WE1.4.1 RecentChanges database performance improvements
Open, Needs TriagePublic

Description

Epic ticket to keep track of work done by many different teams and people. See T307328: Scalability issues of recentchanges table for more information

Related Objects

StatusSubtypeAssignedTask
OpenNone
OpenFeaturetstarling
ResolvedFeatureZabe
ResolvedZabe
ResolvedZabe
ResolvedLadsgroup
ResolvedLadsgroup
OpenNone
OpenNone
ResolvedNone
In Progressseanleong-WMDE
Resolvedseanleong-WMDE
ResolvedNone
In ProgressNone
OpenBUG REPORTNone
StalledNone
OpenNone
OpenNone
OpenZabe
Resolvedaude
ResolvedZabe
ResolvedLadsgroup
Resolvedtstarling
OpenNone
Resolvedtstarling
Opentstarling
Resolvedtstarling
Resolvedtstarling
ResolvedLadsgroup

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Baseline. In June 2025 (30 days), we had:

Mentioned in SAL (#wikimedia-operations) [2025-08-26T02:17:12Z] <TimStarling> on db2202 creating copy of enwiki.recentchanges for performance analysis T400696

I mentioned this already on the cloud mailing list, but please remeber to update the documentation if you are making database changes.

At the time of writing, there is no mention of either deprecation or removal of the rc_type and rc_new columns (which are now gone on the Toolserver).
https://www.mediawiki.org/wiki/Manual:Recentchanges_table#rc_type

Mediawiki.org documentation is not the source of what is deprecated and what is not.

Looking at the metrics, I think T399455 did the job already, at least for RC/RCL. It looks like a ~70% reduction in total slow query time for RC and ~79% for RCL.

CLSP performance 2025-09-12.png (422×843 px, 61 KB)

Mentioned in SAL (#wikimedia-operations) [2025-10-09T21:25:18Z] <TimStarling> on db2202 cleaned up the tables I created for T400696