Re: ADO is slow with AS/400 Database



Thanks for the tip. Unfortunately, it says "current record type does not
support bookmarks. It may be a limitation of the provider or cursor type".


"Bill Todd" <no@xxxxxx> wrote in message
news:466ca96b$1@xxxxxxxxxxxxxxxxxxxxxxxxx
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)


.



Relevant Pages

  • Re: Help on creating this report
    ... The easiest way to do complicated reports is to pre-process the data exactly ... To parse out the names in the Recip column I'd use the GetWordNum ... second name to the cursor of the first name. ... and the B, C, D columns for Nancy. ...
    (microsoft.public.fox.vfp.reports.printing)
  • Re: Another drm/dri lockup - when moving the mouse
    ... >> In previous reports I found that starting xfree or xorg with dri support ... The cursor was definitely SW, ... > to be related to dri ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: FPD report help
    ... the totals in it. ... INTO CURSOR yourcursor and then doing an INSERT INTO yourcursor ... > asked to modify a couple of the PRG-generated reports. ... > with a satisfactory solution. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: ORATCL help needed!
    ... I am unable to use Oratcl 4.4 because it reports a nasty application ... select list" whenever I change the sql select string and use the SAME ... set cursor ...
    (comp.lang.tcl)
  • Re: Old Mac Mini - what system to upgrade to?
    ... If there is a cursor, ... Maybe 3.5" disks required less spin-up current when the enclosure was designed, or maybe the enclosure engineers found that limiting spin-up current would extend the life of a disk. ... I have found that with Safari running, I may have only a sliver of free memory. ... CNodeRegister:RegisterLocalNetInfoHierarchy::Call to netinfo_domainname for local domain name lasted 10 seconds. ...
    (comp.sys.mac.system)