🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ADOTable is slow

#2504
From: Viatcheslav V. Vassiliev
Date: Wed, 04 Jun 2003 09:34
22 lines
1867 bytes
Use server-side cursor. Client-side cursor fetches all records from
recordset. And better use TADOQuery and query with WHERE that returns just
some thousands rows.

----------------------------------------------------------------
Regards,
Viatcheslav V. Vassiliev
http://www.oledbdirect.com
The fastest way to access MS SQL Server, MS Jet (MS Access)
and Interbase (through OLEDB) databases.

"Thomas Vanting" <thomas.vanting@velux.com> �������/�������� � ��������
���������: news:3edd9c1d$1@newsgroups.borland.com...
>
> Hi,
> can enyone tell me how speed up the Active property.
> I have an MS Access database connected thorugh a ADOTable, the database is
approx. 100MB. When I set the Active to true it takes 40 sek. before it's
ready for use!
>
> Thanks,
> Thomas Vanting
Technical Details
Message-ID: <3eddbf84$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!out.nntp.be!propagator2-sterling!in.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3edd9c1d$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10698b,b301876c1fcb087e
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-06-04 02:47:16 PST
From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3edd9c1d$1@newsgroups.borland.com>
Subject: Re: ADOTable is slow
Date: Wed, 4 Jun 2003 13:34:53 +0400
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 213.247.201.57
Message-ID: <3eddbf84$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1054719876 213.247.201.57 (4 Jun 2003 02:44:36 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!out.nntp.be!propagator2-sterling!in.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail