20.2.5 Memory size required for the execution of the database structure modification utility (pdmod)

The following tables show the formulas for determining the memory size required for the execution of the database structure modification utility (pdmod).

Organization of this subsection
(1) HiRDB/Single Server
(2) HiRDB/Parallel Server

(1) HiRDB/Single Server

ConditionFormula for determining memory size (KB)
32-bit mode[Figure]{
4 [Figure] a + 56016 [Figure] b + 53016 [Figure] c + 2440 [Figure] d + 1724 [Figure] e
+ (94008 [Figure] f) [Figure] 500 + (4008 [Figure] g) [Figure] 1000 + 440720 + h + i + j + k
} [Figure] 1024[Figure] + 9.8
64-bit mode[Figure]{
4 [Figure] a + 56024 [Figure] b + 53024 [Figure] c + 3040 [Figure] d + 1736 [Figure] e
+ (100016 [Figure] f) [Figure] 500 + (4012 [Figure] g) [Figure] 1000 + 450720 + h + i + j + k
} [Figure] 1024[Figure] + 9.8
a: Value of pd_max_rdarea_no
b: Number of indexes in local RDAREAs during the execution of initialize rdarea statement + number of indexes in remote RDAREAs
c: Total number of LOB columns during the execution of initialize rdarea statement
d: Total number of LOB-attribute abstract data types during the execution of initialize rdarea statement
e: Total number of plug-in columns and plug-in indexes during the execution of initialize rdarea statement
f: Total number of abstract data types during the execution of initialize rdarea statement
g: Total number of ASSIGN LISTs for the tables stored in the local RDAREAs during the execution of initialize rdarea statement
h: 8 [Figure] a + 30720
Add this value if the alter HiRDB mode to parallel statement is used to migrate from a HiRDB/Single Server to a HiRDB/Parallel Server.
i: 46744
Add this value if the create rdarea statement is used to add a data dictionary LOB RDAREA.
j: 88064
Add this value if the alter system statement is used to change the dictionary table's reference privilege.
k: 54732
Add this value if the alter system statement is used to change the dictionary table's column attribute to MCHAR.

(2) HiRDB/Parallel Server

ConditionFormula for determining memory size (KB)
32-bit modeDS[Figure]{
4 [Figure] a + 56016 [Figure] b + 53016 [Figure] c + 2440 [Figure] d + 1724 [Figure] e
+ (94008 [Figure] f) [Figure] 500 + (4008 [Figure] g) [Figure] 1000 + 440720 + h + i + j
+ 108428 [Figure] m
} [Figure] 1024[Figure]
BES[Figure](4 [Figure] a + 252755 + k) [Figure] 1024[Figure]
FES0.52
MGR9.8
64-bit modeDS[Figure]{
4 [Figure] a + 56024 [Figure] b + 53024 [Figure] c + 3040 [Figure] d + 1736 [Figure] e
+ (100016 [Figure] f) [Figure] 500 + (4012 [Figure] g) [Figure] 1000 + 450720 + h + i + j
+ 108432 [Figure] m
} [Figure] 1024[Figure]
BES[Figure](4 [Figure] a + 261112 + k) [Figure] 1024[Figure]
FES0.53
MGR9.8
a: Value of pd_max_rdarea_no
b: Number of indexes in local RDAREAs during the execution of initialize rdarea statement + number of indexes in remote RDAREAs
c: Total number of LOB columns during the execution of initialize rdarea statement
d: Total number of LOB-attribute abstract data types during the execution of initialize rdarea statement
e: Total number of plug-in columns and plug-in indexes during the execution of initialize rdarea statement
f: Total number of abstract data types during the execution of initialize rdarea statement
g: Total number of ASSIGN LISTs for the tables stored in the local RDAREAs during the execution of initialize rdarea statement
h: 46744
Add this value if the create rdarea statement is used to add a data dictionary LOB RDAREA.
i: 88064
Add this value if the alter system statement is used to change the dictionary table's reference privilege.
j: 54732
Add this value if the alter system statement is used to change the dictionary table's column attribute to MCHAR.
k: 2200
Add this value if the initialize rdarea statement is executed.
m: If the move rdarea statement is executed, add the following to the calculation (if move rdarea is not executed, use 0):
[Figure](192 [Figure] number of moved RDAREAs + 160 [Figure]total number of HiRDB files on moved RDAREAs + 136 [Figure] total number of HiRDB files on moved RDAREAs that are replica RDAREAs + 8 [Figure]total number of tables stored on moved RDAREAs + 8 [Figure]total number of indexes stored on moved RDAREAs + 8 [Figure]total number of LOB columns stored on moved RDAREAs) [Figure] 102400 [Figure]