Nonstop Database, HiRDB Version 9 Installation and Design Guide

[Contents][Index][Back][Next]

15.2.11 Memory required by in-memory data processing

Use the following formulas to calculate the memory required by in-memory data processing.

For a HiRDB parallel server configuration, calculate the RDAREA used as in-memory separately for each server machine.

Formula

Formula 1 + D [Figure] 2 (KB)

Formula 1

n
[Figure]{736 + 32 [Figure] A + 48 + 448 [Figure] B + 2,048 + C x B} [Figure] 1,024[Figure] (KB)
i=1
 

n: Number of in-memory RDAREAs

A: Number of HiRDB files that constitute an in-memory RDAREAs

B: Total number of pages of in-memory RDAREAs

C: Page size of in-memory RDAREAs

D: Value of Formula 2

Formula 2 (number of shared memory segments used by in-memory data buffer)

[Figure]value of Formula 1 [Figure] (value of SHMMAX operand [Figure] 1,024)[Figure]

The value found by Formula 2 is used to calculate the pd_max_resident_rdarea_shm_no operand or the operating system parameters.