|
> SQL _is_ faster. > Try your test again, this time doing a multi-row > fetch of 1000 rows at a time. For comparison with traditional I/O, set the NBRRCDS [Number of records to retrieve at once] parameter of the OVRDBF command to 1000, and specify BLOCK(*YES) on the RPG "F" spec. This isn't to suggest that you shouldn't use SQL, but that I've never run into a situation where you couldn't get better performance by using traditional I/O. Nathan Andelin __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
As an Amazon Associate we earn from qualifying purchases.
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.