2.2.27 Operands related to in-memory data processing

For details about in-memory data processing, see the manual HiRDB Version 9 Batch Job Accelerator.

153) pd_max_resident_rdarea_no = maximum-number-of-in-memory-RDAREAs
~<unsigned integer>((0-8388592))<<0>>
Specifies the maximum number of RDAREAs that can be made resident in memory (in-memory RDAREAs). RDAREAs in excess of the value specified in this operand cannot be made resident in memory.
Condition
A HiRDB Accelerator is needed in order to specify this operand.
Specification guidelines
  • To perform in-memory data processing, you must specify at least 1 in this operand. If you specify 0, in-memory data processing cannot be performed.
  • For a HiRDB/Parallel Server, the value specified in this operand becomes the maximum for each back-end server.
Note
  • Do not specify in this operand a larger value than necessary, because doing so increases the shared memory that HiRDB uses and might lead to shortages of shared memory, perhaps even preventing HiRDB from starting.
  • The following notes apply when a value of 1 or a greater is specified for this operand in a Windows system that supports page fixing:
    [Figure]If the shared memory used by the in-memory data buffer is fixed in the real memory (pdmemdb -k stay -p fixed is specified), the pdntenv command must be used to allocate the shared memory to the paging file. For details about the pdntenv command, see the manual HiRDB Version 9 Command Reference.
    [Figure]If the shared memory used by the in-memory data buffer is fixed in the real memory (pdmemdb -k stay -p fixed is specified), when you estimate the required memory size, note that the shared memory is acquired with its size rounded up to the page size of a Windows large page. To check the page size of a Windows large page, use the pdntenv -os command. For the formula used to estimate the shared memory required for in-memory data processing, see Storage Requirements for HiRDB in the HiRDB Version 9 Installation and Design Guide.
    [Figure]In the SHMMAX operand, specify a value that is rounded up to the page size of a Windows large page.
Effects on individual estimation formulas
If the value of the pd_max_resident_rdarea_no operand is changed, the following estimation formulas are affected:
HiRDB Version 9 Installation and Design Guide:
  • Calculation of required memory under Estimating the memory size required for a HiRDB/Single Server
  • Calculation of required memory under Estimating the memory size required for a HiRDB/Parallel Server
  • Formula 7 under Formulas for shared memory used by a single server
  • Formula 7 under Formulas for the size of the shared memory used by a back-end server
154) pd_max_resident_rdarea_shm_no = maximum-number-of-shared-memory-segments-used-by-in-memory-data-buffer
~<unsigned integer>((1-2147450879))<<pd_max_resident_rdarea_no value [Figure]1.5>>
Specifies the maximum number of shared memory segments to be used by the in-memory data buffer. Shared memory segments in excess of the value specified in this operand cannot be used.
Condition
  • A HiRDB Accelerator is needed in order to specify this operand.
  • The pd_max_resident_rdarea_no operand must be specified.
Specification guidelines
  • Consider specifying this operand if you will be performing in-memory data processing. See Number of shared memory segments used by in-memory data buffers in the HiRDB Version 9 Installation and Design Guide to determine an appropriate value to be specified in this operand.
  • For a HiRDB/Parallel Server, the value specified in this operand becomes the maximum for each back-end server.
Notes
  • Do not specify in this operand a larger value than necessary, because doing so increases the shared memory that HiRDB uses and might lead to shortages of shared memory, perhaps even preventing HiRDB from starting.
  • The value specified in this operand is a maximum that HiRDB manages. It differs from the maximum value that each OS manages. For example, if 200 is specified in this operand but the maximum for your OS is 100, the maximum number of shared memory segments that can be secured will be 100.
Effects on individual estimation formulas
If the value of the pd_max_resident_rdarea_shm_no operand is changed, the following estimation formulas are affected:
HiRDB Version 9 Installation and Design Guide:
  • Calculation of required memory under Estimating the memory size required for a HiRDB/Single Server
  • Formulas for shared memory used by a unit controller under Estimating the memory size required for a HiRDB/Single Server
  • Calculation of required memory under Estimating the memory size required for a HiRDB/Parallel Server
  • Formulas for shared memory used by a unit controller under Estimating the memory size required for a HiRDB/Parallel Server
  • Formula 7 under Formulas for shared memory used by a single server
  • Formula 7 under Formulas for the size of the shared memory used by a back-end server
  • HiRDB/Single Server under Determining Environment Variables Related to the Number of Resources
  • HiRDB/Parallel Server under Determining Environment Variables Related to the Number of Resources