Page MenuHomePhabricator

Use batching for daily data import
Closed, ResolvedPublic

Description

Following T341122: Implement daily data update routine, the daily data import process is as follows:

  1. Run diff.sh, which creates a .sql file for the database updates that need to be performed
  2. Run update-db.js to perform these database updates

This task is for ensuring that step 2 happens in batches. This is necessary because several millions of rows will be updated, and we need to pace this process so as not to choke up DB resources.

Details

TitleReferenceAuthorSource BranchDest Branch
Implement batched import of db updatesrepos/mediawiki/services/ipoid!45stranbatch-importmain
Customize query in GitLab

Event Timeline

@STran Please feel free to improve the task description!

I'm proposing to bypass QA for now, so that update can be tested in one go, once these small fixes are ironed out. Does that sound OK @STran ?