Re: ADO is slow with AS/400 Database
- From: "Bill Todd" <no@xxxxxx>
- Date: 10 Jun 2007 18:46:19 -0700
fiaola wrote:
I'm using ADO to retrieve data from an AS/400 Database, for small
reports, the performance is acceptable, but for larger query, its a
bit slow and at times, it takes up all the memory of my development
machine. Does anyone have a better approach to this issue?
I assume you are using a client-side cursor with your ADODataSet. That
accounts for the memory consumption when the query returns many rows
since a client-side cursor loads the entire result set into local
memory on your workstation. You might consider a server side cursor or
you might write the data to a local text file or database and use that
for input to the report. It is difficult to tell which solution is best
without knowing the requirements of your reporting tool (one pass, two
passe, etc.) and what it can use as a data source.
--
Bill Todd (TeamB)
.
- Follow-Ups:
- Re: ADO is slow with AS/400 Database
- From: fiaola
- Re: ADO is slow with AS/400 Database
- References:
- ADO is slow with AS/400 Database
- From: fiaola
- ADO is slow with AS/400 Database
- Prev by Date: ADO is slow with AS/400 Database
- Next by Date: Re: ADO is slow with AS/400 Database
- Previous by thread: ADO is slow with AS/400 Database
- Next by thread: Re: ADO is slow with AS/400 Database
- Index(es):
Relevant Pages
|