|
An index uses an access path built by the system to actually get to the data.
Build an index with keys A B C. It will create an access path for that index.
Now build an index with keys B C
Since the system already has an access path for B C (it will ignore the A in this case) the system will build the index but share the access path already built earlier.
When you restore a library the system will do its best to share access paths and build them widest to narrowest attempting to reuse as much as possible. You will see messages in the job log about sharing access paths on restoring the tables/indexes.
As to your question about saving access paths, you are correct, 90+% of the time we save access paths during a save now. Back in time when backups took longer and we did not have save while active we traded backup time (not saving access paths) for the unlikely event of recovery (not really so unlikely in the S/38 days with the disk units of the time) where it would take potentially very significant time to rebuild access paths on restore. It was a calculated risk that paid off more that it cost, usually
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.