Needs batching...
Version: unspecified
Severity: normal
Needs batching...
Version: unspecified
Severity: normal
Status | Subtype | Assigned | Task | |
---|---|---|---|---|
· · · | ||||
Declined | Legoktm | T49918 Rename of global (attached) users to existing global usernames | ||
Resolved | Reedy | T72376 UserMerge: don't update the entire table in one query | ||
· · · |
From the runBatchedQuery.php maintenance script:
do { $this->output( "Batch $n: " ); $n++; $dbw->query( $query, __METHOD__ ); $affected = $dbw->affectedRows(); $this->output( "$affected rows\n" ); wfWaitForSlaves(); } while ( $affected > 0 );
This should be easily enough modified to do it...
gerritadmin wrote:
Change 158310 had a related patch set uploaded by Reedy:
Don't update the entire table in one query
gerritadmin wrote:
Change 158310 merged by jenkins-bot:
Don't update the entire table in one query to avoid melting servers