CPI4322 | |
---|---|
Message Text: | Access path built from keyed file &1. |
Cause Text: | A temporary access path was built using the access path from member &3
of keyed file &1 in library &2 to access records from member &6
of file &4 in library &5 for reason code &10. This process took &11
minutes and &12 seconds. The access path built contains &15 entries.
The reason codes and their meanings follow:
|
Recovery Text: | If this query is run frequently, you may want to create an access path (index) similar to this definition for performance reasons. Create the access path using sequence table &13 in library &14, unless the sequence table is *N. If an access path is created, it is possible the query optimizer may still choose to create a temporary access path to process the query. If *MAP is returned for one of the key fields or *I is returned for the sequence table, then a permanent access path cannot be created. A permanent access path cannot be built with these specifications. A temporary access path can only be created using index only access if all of the fields that were used by this temporary access path are also key fields for the access path from the keyed file. |
This message indicates that a temporary index was created from the access path of an existing keyed table or index.
Generally, this action should not take a significant amount of time or resource because only a subset of the data in the table needs to be read. This is normally done to allow the optimizer to use an existing index for selection while creating one for ordering, grouping, or join criteria. Sometimes even faster performance can be achieved by creating a logical file or SQL index that satisfies the index requirement stated in the message help.