Article View: borland.public.cppbuilder.database.ado
Article #585Slow updatebatch (insert)
From: Curt
Date: Wed, 14 Sep 2005 16:05
Date: Wed, 14 Sep 2005 16:05
8 lines
1301 bytes
1301 bytes
I'm attempting to insert 10,000 records to a very simple MySQL table. I use a TADOConnection with a TADODataSet and cached updates. The problem is that the updatebatch process takes several minutes to complete. Is there a faster way to pump this many records into a table ? From the MySQL command line I can insert over 3000 records in less than a second. Thanks, Curt
Technical Details
Message-ID:
<4328495a$3@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.nuthinbutnews.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10698b,a6fd54a27b79a630,start X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Curt" <noemailaddress> Newsgroups: borland.public.cppbuilder.database.ado Subject: Slow updatebatch (insert) Date: Wed, 14 Sep 2005 11:05:35 -0500 Lines: 10 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 NNTP-Posting-Host: 67.37.227.120 Message-ID: <4328495a$3@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1126713690 67.37.227.120 (14 Sep 2005 09:01:30 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.nuthinbutnews.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail