in reply to Batch Loading of data through DBI
Most databases have dedicated tools that do bulk loading of files. You use sybase (I think), and for sybase you would use bcp. (search sybase.com and, even better: sybooks)
MySQL has mysqlimport that does the same thing.
Oracle's bulk loader is sqlldr.
All these tools are typically much faster than DBI.
If you are trying to make your DBI data loading faster, make sure AutoCommit is off and that you are not committing too often (only every few hundred inserts).
It will also help to remove indexes and recreate them after the load.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Batch Loading of data through DBI
by DrHyde (Prior) on Jan 21, 2005 at 10:54 UTC | |
by thor (Priest) on Jan 21, 2005 at 23:12 UTC | |
by jfroebe (Parson) on Jan 21, 2005 at 21:06 UTC |