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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

expecting prompt comments.

Status
Not open for further replies.

vasanthgnb

Programmer
Dec 13, 2000
14
0
0
IN
i have written a dll file, to establish database connection, using ODBC APIs. i tried to insert 50,000 records into a table with 5 string fields and 5 numeric fields. it took me 11 mins and 5 secs when i make use of my dll file. i tried the same using ADO and it took only 11 mins and 11 secs. is my program efficient. expecting prompt comments.
 
Into which database are you inserting?

Is each insert wrapped in a transaction, or is there one large transaction (assuming your database supports transactions)?

Have you tried adjusting blocksize or other settings that might be available to you (depending on your driver)?
Robert Bradley
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top