in reply to Batch INSERT performance
What database are you using? This is faster with MySQL, often by a significant margin. Even faster is LOAD DATA, but that requires some moderately annoying data formatting and error handling is harder (error ignoring is easy though!).
-sam
In Section
Seekers of Perl Wisdom