Previous Topic: Access Paths

Next Topic: Design Standards for Programs

Access Path Performance Considerations

An excessive number of access paths can have a serious impact on performance. Note the following points:

For a given file, the number of useful ways of selecting or omitting the data is usually far greater than the number of useful ways of ordering the data. For this reason, it is often a good idea to leave the selection to the programs that read the file, or to use a ‘dynamic’ access path—rather than building it into the access path permanently (‘static’ selection). This is particularly true when the ‘cardinality’ of each key set (for example, number of records with the same key, or partial key, that have to be read), is small.