Page MenuHomePhabricator

[ENG] Monitor db load after Epic T401284 interventions
Open, Needs TriagePublic

Description

As a PM, I want to report on the success or failure of interventions from epic T401284 by measuring any changes in the contents of recentchanges and wbc_entity_usage tables of client wikis.

We hope to reduce database load in recentchanges by 30%, without incurring a significantly higher load in wbc_entity_usage. For the purposes, we will sample the following wikis: enwiki, dewiki, frwiki (large wikis), arwiki, dagwiki, cawiki (smaller wikis)

Acceptance criteria

  • Make a spreadsheet for tracking db numbers over time (see comment below)
  • Take numbers in recent changes:
  • Take numbers in wbc_entity_usage:
    • Before any intervention is rolled out
    • 1 day after T401288 is rolled out
    • 3 days T401288 is rolled out
    • 5 days T401288 is rolled out
    • 4 weeks after T401288 and T401286 are rolled out
  • Do overall analysis of recentchanges and wbc_entity_usage 8 weeks after T401288 and T401286 are rolled out, and liaise with DBAs to decide if further interventions are required to keep wikibase changes propagated to clients.

Details

Other Assignee
SuzanneWood-WMDE

Event Timeline

Restricted Application added a subscriber: alaa. · View Herald TranscriptSep 1 2025, 2:05 PM
JoelyRooke-WMDE renamed this task from Monitor db load after Epic T401284 interventions to Monitor db load after Epic T401284 interventions.Dec 3 2025, 9:30 AM
JoelyRooke-WMDE updated Other Assignee, added: SuzanneWood-WMDE.

Due to the rapid increase in wb edits in wbc_entity_usage (-23% -> -12%) compared to the initial measurement before any intervention (which we think is due to the pages being purged after 1 month). We will be increasing the frequency of measuring the changes to once every week.

It seems like this data track can be found on Grafana, we need to look into it.

seanleong-WMDE renamed this task from Monitor db load after Epic T401284 interventions to [ENG] Monitor db load after Epic T401284 interventions.Feb 10 2026, 3:57 PM