This question can probably be asked on StackOverflow as well, but I'll try here first…
Performance of INSERT and UPDATE statements in our database seems to be degrading and causing poor performance in our web app.
Tables are InnoDB and the application uses transactions. Are there any easy tweaks that I can make to speed things up?
I think we might be seeing some locking issues, how can I find out?
Best Answer
Check if your hardware and OS is properly configured and tuned:
Check, if your MySQL/InnoDB instance is properly tuned:
Load data infile
command is much faster for series of inserts.select count(*) from table;
is much slower for innodb than for myisam.Some useful links: