|
I think reading small tables into memory is an acceptable practice; I've
used it throughout my career. The idea that paging will bring the
records into memory is a nice thought, but eventually you run out of
memory and things get swapped and usually at the time you need them
most. If you decide to go the no array route and want to ensure that a
file is in memory, you might want to consider the SETOBJACC command. In
any case, run some comparisons to see which way actually performs
better; the last I checked, arrays still process faster than database
files.
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.