DSNIRIDL
DSNIRIDL adds RIDs (Record Identifiers) to a RIDLIST. Activity to DSNIRIDL probably indicates the use of list prefetch. In the list prefetch process, Db2 does the following:
performs a matching Index scan on 1 or more indices
gathers a list of RIDs
sorts the RIDs in ascending page number order
retrieves data
List prefetch is commonly found with larger indices that have a cluster ratio of greater than 80 percent. List prefetch is always used to access data in multiple index access and to access data from the inner table during a hybrid join.
Hints
High time attributed to DSNIRIDL accompanied by high file I/O may indicate that the list prefetch is causing buffer pool thrashing.
List prefetch can be eliminated at bind time by using the OPTIMIZE FOR n ROWS clause, setting the value to 1.
Reference Sources
IBM Db2 for OS/390, Messages and Codes, GC26-8979
IBM Db2 for OS/390, Application Programming and SQL Guide, SC26-8958
IBM Db2 for OS/390, Administration Guide, SC26-8957