Mysql Insert/Update is so Slow I have a laravel application which must insert/update thousands of records per second in a for loop. my problem is that my Database insert/update rate is 100-150 writes per second . I have increased the amount of RAM dedicated to my database but got no luck.


is there any way to increase the write rate for mysql to thousands of records per second ?
please provide me configurations.

My storage engine is InnoDB
Innodb storage is care about ACID transaction it will make sure your data(insert/update) commit to disk that why take the time:


Considering about the columns which frequently change(insert/update), you should not indexing on that column.
if you always need big data of DML operation try to avoid auto-commit=0.but it not good if server crush or some fallen.  
turning your query if your DML operation bases on subquery:


Example:

UPDATE TEST SET NAME='XXXX' WHERE (subquery).