🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: speed

#1645
From: Viatcheslav V. Vassiliev
Date: Fri, 05 Mar 2004 11:50
36 lines
2598 bytes
Yes, ADO is native for MS Access. But you may try ADO without ADO Express
(dbGo), DAO or even OLEDB or ODBC - this way you will have no TDataSet
descendant but you should have some speed improvement.

By default, ADO Express uses client-side cursor - it fetches all rows into
memory cache, so 1/20 sec. for one select is normal.

//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)

"C�sar" <kaesar2@lycos.es> �������/�������� � �������� ���������:
news:c28n0e$1qcd64$1@ID-201928.news.uni-berlin.de...
>
>     I�m using an ms access local database. The components used are
> TAdoDataSet connected with a TADOConnection.
>     The trouble is that, in spite of the structure of the database, I have
> to use 3 TAdoDataSet opened at the same time. i�m not sure if this can be
a
> trouble.
>
> > 1/20 sec. for one select usually is normal. Of course, you can speed up
> your
> > application if you will use direct API for your DBMS.
> >
>     1/20 sec. is the time my application takes for each sellect more or
> less, so maybe it may be normal the time spent. I think I�m using the
> correct API for the access database, aren�t i?
>
>
>
>
Technical Details
Message-ID: <4048698f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!priapus.visi.com!orange.octanews.net!news-out.visi.com!petbe.visi.com!news.octanews.net!proxad.net!212.20.144.77.MISMATCH!gatel!gatel!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <c25unh$1q10bj$1@ID-201928.news.uni-berlin.de> <4046d738$1@newsgroups.borland.com> <c28n0e$1qcd64$1@ID-201928.news.uni-berlin.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10698b,3402a080f58a807c
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2004-03-05 04:09:35 PST
From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <c25unh$1q10bj$1@ID-201928.news.uni-berlin.de> <4046d738$1@newsgroups.borland.com> <c28n0e$1qcd64$1@ID-201928.news.uni-berlin.de>
Subject: Re: speed
Date: Fri, 5 Mar 2004 14:50:43 +0300
Lines: 38
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 213.234.218.42
Message-ID: <4048698f$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1078487439 213.234.218.42 (5 Mar 2004 03:50:39 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!priapus.visi.com!orange.octanews.net!news-out.visi.com!petbe.visi.com!news.octanews.net!proxad.net!212.20.144.77.MISMATCH!gatel!gatel!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail