Change collationUpdate batch size from 1000 to 50
authorAryeh Gregor <simetrical@users.mediawiki.org>
Tue, 8 Mar 2011 21:21:08 +0000 (21:21 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Tue, 8 Mar 2011 21:21:08 +0000 (21:21 +0000)
commit8c69bdb0a6f4c186168c032fa87d55ccc1da8f4b
tree9ccbbee3702a8961c04c61e5908895237cee5fa6
parenta196afa99c633fb8cb1f95e6d030d885b06183cd
Change collationUpdate batch size from 1000 to 50

It selects that many rows, then does PHP processing and an individual
update query for each one.  This is not a good idea when each batch is
done in a single transaction: 1000 MySQL updates interspersed with PHP
processing might take a second or more while locks are held.
maintenance/updateCollation.php