|
The performance problem comes from having too many access paths to maintain (*IMMED) rather than from too many logical files. When a logical file is created it will implicitly share any existing access path that has the necessary key structure. If none exists it will create a new access path. If you create your logicals from the most complex key to the most simple, the logicals with the simple key will share the access path with a logical that has a more complex key with the same high order key fields. The implicit sharing will not happen if the logical has a static select/omit specified because the select/omit with require its own access path. -- Richard Rosenbluth Rose Information Management Co. mailto:rose400@pacbell.net ------------------------------- Bill wrote: > > Isn't there also a run-time performance advantage > to building logicals in an order that is based on > the keys involved? Something about shared > indexes? > > I've been practicing this but don't recall the > reason, stinking aging problem again! > > Bill. > +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.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.