Which is faster: multiple single INSERTs or one multiple-row INSERT?
I am trying to optimize one part of my code that inserts data into MySQL. Should I chain INSERTs to make one huge multiple-row INSERT or are multiple separate INSERTs faster? 13 Answers 13