6.3.5 Determining the memory requirement for executing the adbinit command
When executing the adbinit command, the HADB server uses the types of memory listed below. Determine the requirement for each type of memory.
- ■ Shared memory
-
-
Shared memory management area (INIT_CMN)
-
- ■ Process memory
-
-
Heap memory (INIT_MEM)
-
The following subsections describe the formulas for determining the required amounts of these types of memory.
- Organization of this subsection
(1) Determining the shared memory management area requirement (for executing the adbinit command)
The amount of shared memory management area required for executing the adbinit command (INIT_CMN) is the same as the value of the variable SHMMAN. For details about the variable SHMMAN, see (1) Determining the shared memory management area requirement (for starting the HADB server) in 6.3.3 Determining the memory requirement for starting the HADB server.
(2) Determining the heap memory requirement (for executing the adbinit command)
Use the following formula to determine the heap memory (INIT_MEM) required when executing the adbinit command.
Formula (megabytes)
INIT_MEM = ↑(16,384 + DBAINF + IOCTL) ÷ 1,024↑ + 661
Explanation of variables
- DBAINF: DB area setting
-
Use the following formula to determine its value.
- Formula (kilobytes)
-
DBAINF = 1,024 × dbarea_defnum
dbarea_defnum: Number specified in the initialization option adbinitdbarea
- IOCTL: DB area file output control information
-
Use the following formula to determine its value.
- Formula (kilobytes)
-
IOCTL = 8,201 × multi_max
multi_max: Value specified for the initialization option adb_init_multi_max