Ronald's post regarding multi-row INSERTs with MySQL
reminded me of a quick utility I wrote about a year ago. I wanted
to test for myself how much performance can be gained over
singleton INSERTs. The perl script below just takes the output
from mysqldump and produces a file for each table, with the file
containing the table DDL and the associated INSERT statements.
Thought others may find it useful so here it is
-------- cut here ---------
#!/usr/bin/perl -W[Read more]
#
##
##------------------------------------------------------------------------
## multi_inserts.pl
## ------------
##
## Take singular INSERT statements and create multi-row INSERT statements.
##------------------------------------------------------------------------
##
# Modification History
# …