🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #4442

Re: Speed up Database

#4442
From: Vassiliev V.V.
Date: Sun, 30 Dec 2001 00:53
25 lines
1604 bytes
Try OLEDB Direct at http://www.oledbdirect.com. It uses OLEDB directly,
without ADO. I added 1 million rows at 1 minute 5 seconds on PII-300 on SQL
Server with these components.

Vassiliev V.V.


"Avex" <I@dont.like.spammar> ???????/???????? ? ???????? ?????????:
news:3c1eb21f_1@dnews...
> Hi all,
>
> I have a large records , I need to post them into db,
> but it needs long time to such a thing. Is there a
> way to speed up ? My codes are as below:
> I use ADO.
>
> for (i=0;i<9800000;i++)
> {
> Table1->Append();
> Table1->FieldByName("f1")->AsString = f1[i];
> ........................................................................
> Table1->FieldByName("fn")->AsString = fn[i];
> Table1->Post();
> }
>
Technical Details
Message-ID: <3c2e658b_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews
References: <3c1eb21f_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,77d6545c02a2aaf5
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-12-29 17:08:58 PST
From: "Vassiliev V.V." <vv_vas@iname.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3c1eb21f_1@dnews>
Subject: Re: Speed up Database 
Date: Sun, 30 Dec 2001 03:53:31 +0300
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 62.118.132.172
Message-ID: <3c2e658b_1@dnews>
X-Trace: dnews 1009673611 62.118.132.172 (29 Dec 2001 16:53:31 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!opentransit.net!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!dnews