23.03.2015, 10:49
And why exactly do you need 50k updates? In any case, for such large transactions you should use, well, transactions.
PHP код:
START TRANSACTION;
UPDATE ...
UPDATE ...
UPDATE ...
COMMIT;