DSNIOSET

DSNIOSET is part of internal processing for Performance Trace events. It records input to matching and non-matching index scans for the IFCID 15 records. The IFCID 15 record provides information about the type of Index scan performed. If the scan type is non-matching, (also indicated by MATCHCOLS=0 in Explain), this module may show a significant amount of overhead since the entire index has been scanned. When MATCHCOLS > 0, the Index tree is used for initial position access, and the Leaf pages are then scanned forward from that position. The higher the number of columns in MATCHCOLS, the lower the usage of this module will be. The IFCID 18 record is written at close or re-use of a Cursor Usage Block (CUB), end of file, or no record found conditions. This module will only show usage if performance trace classes are active.

Hints

Proportionally large amounts of time within this module may indicate an index scan. Evaluate the application SQL using EXPLAIN. If MATCHCOLS is zero, a full index scan is performed. If MATCHCOLS is greater than zero, but less than the number of columns in the index, and the Index tree is used for access, then some number of leaf pages will be scanned forward to locate all qualifying RIDs.

Proportionally large amounts of time in this module also occur with the repetitive execution of indexed access with a high number of MATCHCOLS. If a large amount of time is attributed to DSNVSR for this statement and the statement is not using an INDEX ONLY, evaluate the possibility of replacing synchronous I/O with set processing.

For high volume insert activity, ensure that the inserted rows are sorted into the sequence of the clustering index.

Reference Sources

IBM Db2 for OS/390, Messages and Codes, GC26-8979