Previous Topic: How to Build RPROF TablesNext Topic: How to Establish RPROF Access


How to Improve Concurrency

The RPROF is designed for the maximum concurrency by ensuring there is no less than one logical RPROF record per DB2 data page, and one index record per DB2 index subpage.

The following techniques improve concurrency:

One way to prepopulate an RPROF table is to load rows for each unique user ID, that is, IETUID. The prepopulated rows have an application ID, that is, an IETAPPID, outside the range of valid application ID numbers, so the application reset does not remove the row.

The permanent rows provide an index structure that eliminates most contention, because the high-level key entries already exist, and applications do not have to wait for index page splits or abend with a DB2 -911 error.