Re: ADO server side cursor sloooow
- From: "Bill Bach" <goldstar@xxxxxxxxxxxxx>
- Date: Wed, 04 Jan 2006 15:19:11 -0600
A client side cursor will stream the data in bulk down the the
workstation. When you need the ENTIRE data set sent across the line,
you should use the Client-Side Cursor. Server-side cursors are much
faster when only a small portion of the data is needed.
Goldstar Software Inc.
Building on Btrieve(R) for the Future(SM)
Bill Bach
BillBach@xxxxxxxxxxxxxxxxxxxx
http://www.goldstarsoftware.com
*** Chicago: Pervasive.SQL Service & Support - March, 2006 ***
*** Chicago: Pervasive DataExchange Class - March, 2006 ***
Bill wrote:
> Using PSQL 9.1 I am comparing the PDAC SQL components to ADO.
> Selecting and looping through 1,000 rows takes about the same amount
> of time using PDAC SQL and ADO with a client side cursor. However,
> ADO with a server side forward only cursor takes 2.5 times more time
> to select and iterate the same rows. That makes no sense at all. A
> server side forward only cursor should be faster if anything.
>
> Any suggestions? I can't help thinking that I must have something set
> wrong.
.
- Follow-Ups:
- Re: ADO server side cursor sloooow
- From: Bill
- Re: ADO server side cursor sloooow
- Prev by Date: need pervasive/macola programmer in houston
- Next by Date: Re: General Error!!!
- Previous by thread: need pervasive/macola programmer in houston
- Next by thread: Re: ADO server side cursor sloooow
- Index(es):
Relevant Pages
|