🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: BDE faster than ADO ?

#3767
From: Vassiliev V.V.
Date: Thu, 20 Jun 2002 07:47
38 lines
2271 bytes
Are you with server-side cursor in ADO?

TDataset was designed to work with BDE and it slows down ADO. Also, ADO is
designed with Visual Basic and scripting languages in mind and this makes it
slower too - all fields are represented as Variants etc.

OLEDB Direct (http://www.oledbdirect.com) is faster then both ADO and BDE. 1
000 000 rows (3 integer columns) are inserted into SQL Server 2000 table on
PII-300 192 MB RAM in ~ 1 minute 20 seconds (database have file size and log
file size enough big to store this data) and fetchs them back in approx. the
same time. OLEDB Direct is more difficult to use then ADO but it is faster
and more powerfull. In this sample bulk-copy rowset is used (for insert)
that is not available from ADO. If you need source code for this sample,
write support@oledbdirect.com.

Regards,
Vassiliev V.V.
http://www.oledbdirect.com

"Roberto" <roberto@dialtech.com.br> �������/�������� � �������� ���������:
news:3d113a7d_2@dnews...
> Hi,
>
> I have tried to insert 100.000 recors in a SQL Server 2000 table and I
have
> abserved that BDE insertions are 6 times faster than ADO inserts on the
same
> environment.
>
> My question is: How could this be possible ???
>
> Note: Searches are 4 times faster in BDE too.
>
>
>
>
>
>
Technical Details
Message-ID: <3d11897f_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-03!supernews.com!yellow.newsread.com!netaxs.com!newsread.com!netnews.com!news.maxwell.syr.edu!news-xfer.siscom.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews
References: <3d113a7d_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10698b,7e3d5bc7318fa023
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-06-20 01:00:32 PST
From: "Vassiliev V.V." <news@vassilievvv.mtu-net.ru>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3d113a7d_2@dnews>
Subject: Re: BDE faster than ADO ?
Date: Thu, 20 Jun 2002 11:47:37 +0400
Lines: 40
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.1
Message-ID: <3d11897f_2@dnews>
X-Trace: dnews 1024559487 62.118.132.1 (20 Jun 2002 00:51:27 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-03!supernews.com!yellow.newsread.com!netaxs.com!newsread.com!netnews.com!news.maxwell.syr.edu!news-xfer.siscom.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews