title: Batch Processing in MySQL and PHP?
body: <p>I am making an application in which once a week will have to perform multiple operations (calculations) based on all users of the system. Initially estimated about 300 users.</p>
  
  <p>My question is, is there a method to perform this type of operation? like batch processing? At this moment, I test the script with only an user and on my localhost, I use a foreach cycle to cycle users and made ​​all queries, calculations and insert the results ..</p>
  
  <p>I have the doubt if more users saturate the script or hosting or similar things.. How can i handle such situations?</p>
  
  <p>Cheers ;)</p>