Any input would be helpful.
Thanks,
Billie H. Cleek
2)
The client computers keeps in that case a copy of the recordset. In the case
of an updatable recordset the clientcursor does NOT represent the whole
recordset but it represents the active index of the table (see the Rs.Open
options)
3)
I use the client cursor at webserver because of it's better performace when
doing MoveNext
For instance
Set fld1 = Rs("afield")
Do Until Rs.Eof
Response.Write fld1
Rs.MoveNext
Loop
the loop above is 2x faster than a ado recordset that is depending on the
adUseServer option
4)
For very small recordsets it is always better to use a server cursor
Billie H. Cleek <bcl...@actmo.com> wrote in message
news:ejOzC0VW$GA....@cppssbbsa02.microsoft.com...
advantage nr one is that the recordset can float to anywhere and the while
disconnected. This greatly can improve scalability for the db.
"disconnected"-recordsets do also a good job for read/write-access
(BatchUpdate).
Greetings,
Thomas Wagner
"Egbert Nierop" <e.ni...@spammeandispamyouevenbetter.com> schrieb im
Newsbeitrag news:#lkxMzaW$GA.76@cppssbbsa05...
Egbert Nierop <e.ni...@spammeandispamyouevenbetter.com> wrote in message
Have a quick look at
http://www.able-consulting.com/WebApp98/WebBased.htm
and read the section: What is RDS ? there lies an answer...
Joost Devos
Which (long) way do you want to go ?
Suppose someone has to do quite a bit of research using that read-only
data on a laptop. You may not want to tie them to the network, they
may want to be able to disconnect from the network and walk around with
the data while researching.
Suppose you have a mobile database application. The disconnected
recordset is the copy the salesman has with him in the field. Every
night or so, he dials in and you update the database with his entries.
If you didn't disconnect the recordset, he would have to dial in every
time he needed to add a record.
This example is a little extreme as there are many uses for
disconnecting recordsets. It depends on your architectural needs. If
you need to retrieve all of the values in a table and display them on a
form, then there's not much sense to disconnecting the recordset. But
if you have a huge amount of data and someone needs to simply scroll
through all of the data, you may want to get a copy of the data by
disconnecting and then reconnecting later if needed.
--
Kirk Allen Evans
kae...@yahoo.com
Sent via Deja.com http://www.deja.com/
Before you buy.
Tim
Billie H. Cleek wrote:
> This still doesn't really answer my question. Let's say I have a read-only,
> client-side cursor recordset. What, then, is the advantage of disconnecting
> it?
>
> > Billie H. Cleek <bcl...@actmo.com> wrote in message
Hi Billie
There is a very simple answer to this. If you have a web application
with X-users, using Server-Side cursors. The DBMS would need to keep X
number of cursors and connections. This might be ok if you expect < 10
users "concurrently". But if you have maybe >10.000 there is a real
problem.
Also when using multi-tier applications the middle-tier can change the
content of the recordset without using the DBMS, only when it need to
persist the recordset it will update it. Therefore you can have many
machines running the middle-tier without affecting (to much) the load
on the DBMS, since it is only accessed when extracting the data and
when updating the data.
Hoped this helped.
/Charlie
charlie helin | 247 interactive | Systems Architect
birger jarlsgatan 57c | box 7820 | se-103 99 stockholm
phone +46 (0)8 458 09 05 | mobile +46 (0)709 99 50 40 | fax +46 (0)8
458 04 50
email charli...@247interactive.se | web www.247interactive.se
In article <uL4kpm4W$GA....@cppssbbsa02.microsoft.com>,
"Billie H. Cleek" <bcl...@actmo.com> wrote:
> This still doesn't really answer my question. Let's say I have a read-
only,
> client-side cursor recordset. What, then, is the advantage of
disconnecting
> it?
>
> > Billie H. Cleek <bcl...@actmo.com> wrote in message
> > news:ejOzC0VW$GA....@cppssbbsa02.microsoft.com...
> > > I'm trying to figure out what advantage one has when using a
> disconnected
> > > recordset. Since the cursor must be clientside to use a
disconnected
> > > recordset, what's the advantage of disconnecting it?
> > >
> > > Any input would be helpful.
> > >
> > > Thanks,
> > > Billie H. Cleek
> > >
> > >
> >
> >
>
>
"Billie H. Cleek" wrote:
--
------------------------------------------
Louie S. Y. Chung