Home > database > MySQL bulk insert data when the data volume of more than one million insertion speed by an order of
MySQL bulk insert data when the data volume of more than one million insertion speed by an order of
Time:10-21
Write a stored procedure while the do bulk insert is a simple insert when inserted into the hundreds of thousands of three or four fields or after insertion speed from one million per thousand to several hundred per second has nothing to do with the transaction, I tested don't know what is the relationship between the database parameter and What cache what IO have great spirit has studied
CodePudding user response:
Batch derivative according to turn off the index, after the data import to open the index
CodePudding user response:
A small batch submit this is not easy to conflict and other statements