MQ tables and index: CIUMQ1

Calculation of the space required for the Db2® tablespace and Db2® index for IBM MQ data.

To calculate the space, in KB, to allocate for the Db2® tablespace and the Db2® index required for IBM MQ data, you need to estimate the total number of rows.

This number is calculated from the following values; see Values required for each CICS® region.
  • NUM_MQ_PROG
  • AVG_MQ
  • PROG_TRAN_RATIO
  • NUM_REGION_D
Calculate the number of rows for the Db2® table as follows:
NUM_ROWS = (NUM_MQ_PROG * AVG_MQ * 
            PROG_TRAN_RATIO * NUM_REGION_D) 

Use the value calculated for NUM_ROWS and the values for ROW_SIZE and PERCENT_FREE in Worksheet for MQ tablespace to calculate the PRIQTY and SECQTY as described in Db2 space allocation for the MQ tablespace.

Table 1. Worksheet for MQ tablespace
Tablespace Row_Size Percent_Free PRIQTY SECQTY
CIUMQD 163 15
Indexes
XIMQD1 107 20