Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LOAD vs SQL INSERT

Status
Not open for further replies.

stoggers

Vendor
May 30, 2001
93
US
Hi,

What is the relative performance of using LOAD rather than SQL insert statements? I have a bulk load via SQL that takes several hours to run and I was wondering if there would be any advantage to re-writing the source application to export data in UNLOAD format.

Any other considerations/pitfalls would be appreciated.

Regards,

Mike.
 
Load is much faster because it does not use a transaction log. Also, you might try dropping any indices on the table, especailly if there are several, and then recreating them after you're done inserting.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top