Nonstop Database, HiRDB Version 9 Installation and Design Guide

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

15.1.10 Memory required by in-memory data processing

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

Formula

Formula 1 + D [Figure] 2 (KB)

Formula 1

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

n: Number of in-memory RDAREAs

A: Number of HiRDB files that constitute the 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]

Formula 2 calculates the value per RDAREA. Calculate for as many in-memory RDAREAs as there are.

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