I was excited to find a syntax for multi-row insert, as we have seen slowness when inserting many rows in production systems where there is latency between the application and the db server.
But, testing on my development system (which does not have latency), the new syntax is considerably slower than individual inserts. I'm curious if anyone has an explanation for that, or a suggestion for how it could be improved.
In my test, inserting 60,000 rows, using
INSERT INTO table
VALUES (a, b,...),(c, d,...),...(x,y,...);
which needed about 60 individual statements (due to 1000 row limit on this approach), took about 15 seconds. Inserting the same rows one at a time took only 8 seconds.