Previous Topic

Next Topic

Book Contents

Book Index

Stacking database: Index component

Index blocks consist of 10 bytes of control information followed by no more than 255 items, or keys. Each item in an index component has a variable length. The key length (sdi_key_len) of the Stacking Database Index file is 57 and must not be changed.

The default block size of the components (blk_size) of the Stacking Database is 6,518.

You can change the block size (blk_size) to any value. BMC recommends that you use a value that will minimize wasted space on the device to which the Index file is allocated.

The required number of blocks is calculated as follows:

  1. x1 is the number of records in the data components of the Stacking Database (sd_num_rcds). For information on calculating sd_num_rcds, see Stacking database: Data component.
  2. x2 is x1 * (sdi_key_len + 6)
  3. x3 is (x2 / blk_size) * 2
  4. sdi_num_blks is x3 * 1.05

Parent Topic

Stacking database calculations