× 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.



From: Wilt, Charles

I'm not sure what your problem is, Gene, but it is not that
dirty records are being hidden from users due to caching.
The beauty of the single level store is that there is no such
thing as a dirty record. When you access a record, you are
accessing address of the virtual memory location where it
resides and that memory is the same for all users.

Not quite true Joe.

Sounds like RPG may be blocking the i/o of the file. In which case, while
the program has done the
WRITE, the data is still in the program buffers and has not yet been
passed to the DB.

I though I was pretty clear about updates vs. writes, Charles. While writes
may be blocked, the random nature of the CHAIN/UPDATE pretty much precludes
any blocking. I suppose you MIGHT see blocking on an update primary file,
but I haven't tried that in a long time, and anyway that's not how I read
the original post. Gene specifically used the word "update" which I took to
mean updating a record, which in turn means CHAIN/UPDATE.

On the other hand I suppose it's possible that he was talking about locking
the file and doing a bunch of writes. In that case, you're absolutely
correct that the writes could be blocked (which I also said), and I would
definitely go with the FEOD strategy; that's what I use as opposed to the
FRCRATIO.

Joe


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.