102 DB2 II: Performance Monitoring, Tuning and Capacity Planning Guide
I/O blocks are allocated for blocking cursors. If cursors are unable to block
data, performance can be affected.
Accepted Block Remote Cursor requests is a counter that records the
number of times a request for an I/O block at the database server was
accepted.
Compute the following metric for tuning purposes. The percentage of rejected
block remote requests (PRBRR) is as follows:
PRBRR = ((Rejected Block Remote Cursor requests) / (Accepted Block Remote
Cursor requests + Rejected Block Remote Cursor requests)) * 100
Consider increasing RQRIOBLK:
If PRBRR is consistently high; QUERY_HEAP_SZ should also be increased
correspondingly.
When applications receive SQL1221N or SQL1222N messages or see
DIA3605C in the db2diag.log, increase RQRIOBLK incrementally until these
conditions do not reappear.
The number of send and receive requests occurring for a particular application
can be found by enabling the CLI trace facility.
3.4.3 Data source considerations
The DB2 optimizer generates an access plan based on a number of factors, as
discussed in “Query optimization” on page 68, and then generates a query
fragment to be executed at the remote data source.
This query fragment sent to the data source for execution can be identified in the
RMTQTXT field of the SHIP operator in db2exfmt output for the query, as shown
in Example 3-7.
If it is suspected that the query fragment sent to the remote data source is not
performing well, then it can be tuned according to the unique considerations
associated with the particular data source by that data source administrator.
Example 3-7 db2exfmt output with query fragment in RMTQTXT of SHIP operator
DB2 Universal Database Version 8.1, 5622-044 (c) Copyright IBM Corp. 1991, 2002
Licensed Material - Program Property of IBM
IBM DATABASE 2 Explain Table Format Tool
******************** EXPLAIN INSTANCE ********************