in reply to DBI Performance help

I see that you are using transactions.   Good.   Bulk inserts are often speeded up by disabling indexes on the table for the duration of the update.   When the indexes are re-enabled, they are calculated once for the whole data set.

I cannot easily see (because of the lack of <code> tags) whether you are preparing the query each time (you don’t need to), and whether you are using placeholders and bound parameters (you should be).

Replies are listed 'Best First'.
Re^2: DBI Performance help
by cool79s (Initiate) on Oct 08, 2010 at 18:43 UTC
    I have updated the format.Can you please look into it?

      From my perspective, you have worsened the format and removed your question and information about what you are doing.

      See Markup in the Monastery and pay careful attention to how the code tags are used.