I use PHP with Mysql. I care about performance and stability and that's why I now use multiple inserts / updates in one single SQL query (which is generated by PHP). With that I insert / update 1000 rows. It takes about 6 seconds.
Kind of like this but larger:
Inserting multiple rows in mysql
I've read about transactions which is meant to speed up where multiple SQL queries are added to a kind of buffer (I guess) and then all is executed.
Which method should I use in terms of performance and stability? Pros and cons?