I have written a program in C to parse large XML files and then create files with insert statements. Some other process would ingest the files into a MySQL database. This
Transactions eliminate the
INSERT, SYNC-TO-DISK
repetition phase and instead all the disk IO is performed when you COMMIT the transaction.
Raw text + GZip compressed stream ~= as much as 90% bandwidth saving in some cases.
INSERT INTO TableName(Col1,Col2) VALUES (1,1),(1,2),(1,3)
( Less text to send, shorter action )