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 | |
by ig (Vicar) on Oct 08, 2010 at 18:53 UTC |