🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

techniques for minimizing database traffic

#2851
From: Bonny Rais
Date: Tue, 11 Mar 2003 11:44
27 lines
2062 bytes
All,

I've posted a question regarding the time it takes to start up an
application
with an active dataset of medium size (70K records). It was suggested that
this happens because the cursor location is on the client which forces the
loading of the complete dataset in order to facilitate sorting/filtering.
However, I've changed the cursor location to be server side and now
I'm getting exceptions with a dataset which is related to the above dataset
and which is used to show the details in a master/detail form. I cannot set
the cursor type to dynamic/static/keyset (at least this is what the ODBC
driver states) and
it is required to be such for bookmarks to work...

what gives?

I am new to C++ builder so I'm not sure what the best way to achive this is,
but I'm sure many people have done this before: the scenario is a
master/detail
combination with ~100K master records and ~500k detail records. What's
the best way to have a responsive UI without loading the complete master
table
into memory?

Cheers,

Bonny
Technical Details
Message-ID: <3e6dcc2e@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!64.154.60.99.MISMATCH!c03.atl99!news.webusenet.com!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,e3115bee4ba3f50b,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-03-11 03:52:15 PST
From: "Bonny Rais" <bonnyr@optushome.com.au>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: techniques for minimizing database traffic
Date: Tue, 11 Mar 2003 22:44:49 +1100
Lines: 29
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: 210.49.220.198
Message-ID: <3e6dcc2e@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1047383086 210.49.220.198 (11 Mar 2003 03:44:46 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!64.154.60.99.MISMATCH!c03.atl99!news.webusenet.com!news02.tsnz.net!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail