×
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.
This is is upload file which comes from external system... having
millions of records
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Paul Nelson
Sent: Friday, May 28, 2010 12:38 AM
To: 'Midrange Systems Technical Discussion'
Subject: RE: READ PREVOIUS in CLP
<< Unless you're writing thousands of records to a file at once the
maintenance of all the indices is barely noticable.>>
One other thing to consider is that your performance will be better if
these
thousands of records could be sorted into the proper order first.
Paul Nelson
Office 512-392-2577
Cell 708-670-6978
nelsonp@xxxxxxxxxxxxx
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Musselman, Paul
Sent: Thursday, May 27, 2010 1:30 PM
To: Midrange Systems Technical Discussion
Subject: RE: READ PREVOIUS in CLP
In Ye Olden Dayes (back in the S/38 world) the general consensus was
that "Logical Files Degrade System Performance." I used to espouse this
idea myself. The reason was that the system had to keep all of the
index trees properly pruned; this took time.
So a balance would be struck between ease of application programming
using a new index versus the time it took to maintain that index at all
times. If the keys were not unique, you could defer the access path
maintenance until the file was actually used-- ie if an index is only
used once a month during month ending, why bother keeping it up to date
between times?
You can still specify MAINT(*IMMED|*DLY|*REBLD) as needed.
With the improved performance of OS/400 and its descendants this is no
longer as big an issue as it once was-- we have several files with over
40 LFs and Views. Don't ask if we need them all-- no one wants to
compare keys and see which ones are redundant. And the system does a
fairly decent job of sharing the access path when appropriate.
Unless you're writing thousands of records to a file at once the
maintenance of all the indices is barely noticable.
Paul E Musselman
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.