Take a look at your inserts, are you using auto commits? if so every insert is casuing a commit, are you executing the same sql as the sqlplus is executing? Are the DBD settings similar to sqlplus's settings for buffer size and maximum window? Are you using placeholders?