🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: slow loading of application because of open dataset

#2844
From: Viatcheslav V. Vassiliev
Date: Mon, 10 Mar 2003 09:05
34 lines
2234 bytes
You are using client-side cursor - it fetches all rows into memory. You can
use server-side cursor which will not fetch all rows into memory but some
features will not be available (for example, most OLEDB providers do not
implement sort/filter).

----------------------------------------------------------------
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.

"Bonny Rais" <bonnyr@optushome.com.au> �������/�������� � ��������
���������: news:3e6c305a$1@newsgroups.borland.com...
> All,
>
> I find that an application I'm writing is taking a very long time to show
> up because a dataset which is connected to the database is taking long to
> complete. Is there anyt way to eliminate or amortise this time?
>
> The dataset is an ADO  table (I've tried queries as well) connected to a
> medium
> size table with about 70K records. It seems as if the application is
loading
> the complete
> table into memory (why?).
>
> Any help would be appreciated.
>
> Cheers,
>
> Bonny
>
>
Technical Details
Message-ID: <3e6c569d@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3e6c305a$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10698b,dc7465b913df9596
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-03-10 01:40:52 PST
From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3e6c305a$1@newsgroups.borland.com>
Subject: Re: slow loading of application because of open dataset
Date: Mon, 10 Mar 2003 12:05:14 +0300
Lines: 36
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: <3e6c569d@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1047287453 213.247.201.57 (10 Mar 2003 01:10:53 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail