Manual:RunBatchedQuery.php/en

Details
runBatchedQuery.php file is a maintenance script to run a database query in batches and wait for slaves.