× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On Tue, 29 Mar 2005 14:37:12 -0500, Wilt, Charles <CWilt@xxxxxxxxxxxx> wrote:

> Ah, no in general you couldn't....as long as you were dealing with sets of 
> 100+ records at a time.
> 
> Simple really, the same access plans, ie. logical files or indexes, you would 
> need for fast access can be used by SQL.  SQL is optimized for set at a time 
> processing whereas RPG is optimized for record at a time.  It boils down to 
> how many trips need to be made between the DB and the application code.  In 
> RPG, there's 1 for every record.  With SQL, there's only 1.

In my experience, speed really boils down to how many trips need to be
made to the disk.  With optimized blocking, even though your code is
looping once per record, disk access happens in blocks.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.