Nonstop Database, HiRDB Version 9 Installation and Design Guide

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

15.1.3 Formulas for shared memory used by a unit controller

Organization of this subsection
(1) 32-bit mode HiRDB
(2) 64-bit mode HiRDB

(1) 32-bit mode HiRDB

The size of the memory required for the unit controller from startup to termination of a HiRDB single server configuration is the sum of the process items listed as follows:

Ensure that the size of the shared memory for the entire unit controller does not exceed 2 gigabytes.

Process item Shared memory calculation formula (bytes)
Scheduler

Value of pd_utl_exec_mode set to 0:
{[Figure](432 + 304 [Figure] n) [Figure] 1,024[Figure] + 500 + x + [Figure](134 + value of pd_trn_rcvmsg_store_buflen) [Figure] 1,024[Figure]} [Figure] 1,024

Value of pd_utl_exec_mode set to 1:
{[Figure](432 + 304 [Figure] n) [Figure] 1,024[Figure] + [Figure](m [Figure] 2,000 + 136) [Figure] 1,024[Figure] + y + [Figure](134 + value of pd_trn_rcvmsg_store_buflen) [Figure] 1,024[Figure]} [Figure] 1,024

x: Single server: 116 + 5 [Figure] (m + 3) + 14
Utility special unit: 0

y: Single server: 5 [Figure] (m + 3) + 14
Utility special unit: 0

m: Value of pd_max_users + value of pd_max_reflect_process_count

n: Number of servers in unit + number of utility servers in unit + 1
Number of utility servers in the unit: 27 + [Figure]
[Figure]: If there is a single server in the unit, 12; otherwise, 0
Lock server
  • For a unit other than a utility special unit
(320+ 48 + c + d + 48 + 4,096 + g + 48 + i + 48 + 4,096 + 48 + n + t + u + 16) [Figure] value of pd_lck_pool_partition
c: When pd_lck_hash_entry is omitted or 0 is specified:
([Figure](8 + 4 [Figure] MAX(largest prime number that is less than [Figure]((p + 3) [Figure] (value of pd_max_access_tables + 4 + 5 [Figure] 2)
+ [Figure]value of pd_lck_pool_size [Figure] value of pd_lck_pool_partition[Figure] [Figure] 6) [Figure] 10[Figure], 11,261)) [Figure] 16[Figure] + 1) [Figure] 16
When 2 or a greater non-prime number is specified for pd_lck_hash_entry:
([Figure](8 + 4 [Figure] largest prime number that is less than the value of pd_lck_hash_entry) [Figure] 16[Figure] + 1)
[Figure] 16
When 1 or a prime number is specified for pd_lck_hash_entry:
([Figure](8 + 4 [Figure] value of pd_lck_hash_entry) [Figure] 16[Figure] + 1) [Figure] 16
d: ((p + 3) [Figure] (value of pd_max_access_tables + 4 + 5 [Figure] 2) +
[Figure]value of pd_lck_pool_size [Figure] value of pd_lck_pool_partition[Figure] [Figure] 6) [Figure] 96
g: When value of pd_utl_exec_mode = 1 and p > 32:
((p + 3) [Figure] 3 + p) [Figure] 256
When value of pd_utl_exec_mode = 0 or p [Figure] 32:
((p + 3) [Figure] 3 + 32) [Figure] 256
i: When value of pd_utl_exec_mode = 1 and p > 32:
(([Figure]value of pd_lck_pool_size [Figure] value of pd_lck_pool_partition[Figure] [Figure] 8 + ((p + 3)
[Figure] (value of pd_max_access_tables + 4)) [Figure] 2)
+ p [Figure] (value of pd_max_rdarea_no + 1) + (p + 3) [Figure] 2 [Figure] 2 [Figure] 5)
rounded up to the next even value [Figure] 64
When value of pd_utl_exec_mode = 0 or p [Figure] 32:
(([Figure]value of pd_lck_pool_size [Figure] value of pd_lck_pool_partition[Figure] [Figure] 8 + ((p + 3)
[Figure] (value of pd_max_access_tables + 4)) [Figure] 2)
+ 32 [Figure] (value of pd_max_rdarea_no + 1) + (p + 3) [Figure] 2 [Figure] 2 [Figure] 5)
rounded up to the next even value [Figure] 64
n: When value of pd_utl_exec_mode = 1 and p > 32:
((p + 3) [Figure] 3 + p) [Figure] 48
When value of pd_utl_exec_mode = 0 or p [Figure] 32:
((p + 3) [Figure] 3 + 32) [Figure] 48
p: value of pd_max_users + value of pd_max_reflect_process_count
t: When value of pd_utl_exec_mode = 1 and p > 32:
48 + ((p + 3) [Figure] 3 + p) [Figure] [Figure]value of pd_max_open_holdable_cursors [Figure] 16[Figure] [Figure] 4
When value of pd_utl_exec_mode = 0 or p [Figure] 32:
48 + ((p + 3) [Figure] 3 + 32) [Figure] [Figure]value of pd_max_open_holdable_cursors [Figure] 16[Figure] [Figure] 4
u: When value of pd_utl_exec_mode = 1 and p > 32:
48 + (([Figure]value of pd_lck_pool_size [Figure] value of pd_lck_pool_partition[Figure] [Figure] 8 + ((p + 3)
[Figure] (value of pd_max_access_tables + 4)) [Figure] 2)
+ p [Figure] (value of pd_max_rdarea_no + 1) + (p + 3) [Figure] 2 [Figure] 2 [Figure] 5)
rounded up to the next even value [Figure] [Figure]value of pd_max_open_holdable_cursors [Figure] 16[Figure] [Figure] 4
When value of pd_utl_exec_mode = 0 or p [Figure] 32:
48 + (([Figure]value of pd_lck_pool_size [Figure] value of pd_lck_pool_partition[Figure] [Figure] 8 + ((p + 3)
[Figure] (value of pd_max_access_tables + 4)) [Figure] 2)
+ 32 [Figure] (value of pd_max_rdarea_no + 1) + (p + 3) [Figure] 2 [Figure] 2 [Figure] 5)
rounded up to the next even value [Figure] [Figure]value of pd_max_open_holdable_cursors [Figure] 16[Figure] [Figure] 4
  • For a utility special unit
8,416
Transaction server 288 + 32 + 192 [Figure] m [Figure] 2 + 1,028
+ (420 + 564 + 256 + 384 [Figure] 2 + 128) [Figure] m [Figure] 2 + 7) + 256 [Figure] 2

m: Value of pd_max_users + value of pd_max_reflect_process_count
Timer server

32 [Figure] (value of pd_max_users + value of pd_max_reflect_process_count + 3) [Figure] (1 + number of utility servers in unit + 1) + 1,440

Number of utility servers in unit is 26 + [Figure]
[Figure]: For HP-UX, Solaris, and AIX, with a single server in the unit: 12. For Linux, with a single server in the unit: 3.
Statistics log server 384 + 128 [Figure] 16 + 32 + 288 [Figure] 2 + 1,024 + 128 [Figure] 3
+ value of pd_stj_buff_size [Figure] 1,024 [Figure] 3 + 64 + 4,096 + 8,192
Process server 192 + 512 [Figure] a + 80 + 256 + (value of pd_max_server_process + 50) [Figure] (256 + 144) + 16 + 8 [Figure] 16 + 16 + 16 + 48 + 48 [Figure] (b + 1)
a: For a single server: 131
For a utility special unit: 106
b: If the operand pd_module_trace_max is specified in the system common definition or the unit control information definition: value of pd_module_trace_max
If not: 16,383
Single server 640 + (44 + 4) [Figure] a [Figure] 2 + (100 + 4) [Figure] (b + 30 + 2) + (100 + 4) [Figure] (c + 1) + 40 [Figure] b [Figure] 14 + 256 + 256 + 36 [Figure] d + 12 [Figure] e + 8 + 5,844 + 224 + f + 16 + 1,024 + 272 [Figure] h
a: Number of single server definitions
b: Number of single servers in unit
c: Number of units
d: Number of -c options specified in pdunit operand
e: Number of pdcltgrp operands specified
f: 2,052 + 128 [Figure] (g + 3)
g: For a single server: 92. For a utility special unit: 74.
h: Number of IP addresses for hosts specified in the pd_security_host_group operand
If the pd_security_host_group operand is not specified, 0
Name server 169,984
Node manager [Figure](1,152 + 432 [Figure] total number of units + 80 [Figure] total number of servers + 7,680 + 1,008 + 56 [Figure] number of servers in unit + 240 [Figure] A + 44 [Figure] A + 28 [Figure] A + 16 [Figure] B + 32)
[Figure] 1,024[Figure] [Figure] 1,024

A: pd_utl_exec_mode = 0: 1,024
pd_utl_exec_mode = 1 and the unit contains a single server: Value of pd_max_users [Figure] 10 + 400
pd_utl_exec_mode = 1 and the unit contains no single server: Value of pd_max_users [Figure] 7
If the value of A does not exceed 1,024, use 1,024 as the value of A.

B: pdcltgrp operand not specified: 0
pdcltgrp operand specified: Number of pdcltgrp operands specified + 1
I/O server [Figure](28 + ([Figure](32 + A) [Figure] 32[Figure] [Figure] 32)) [Figure] 128[Figure] [Figure] 128

A: 3,248 + (14 + 16) [Figure] 972 + 1 [Figure] 276 + 534 [Figure] 276 + 16 [Figure] 276
+ value of pd_max_file_no [Figure] 972
For utility special unit, the size is (3,248 + (14 + 16) [Figure] 972 + 1 [Figure] 276) bytes.
Log server 32 + 48 + 128 [Figure] 19 + 384 + 128 [Figure] 7 + 1,024 + 512
+ [Figure](128 + 256 + 160 + 8 + 64) [Figure] value of pd_log_rec_leng[Figure]
[Figure] value of pd_log_rec_leng + 64 + 4,096 [Figure] 2 + (736 + 512) [Figure] B + 128
[Figure] value of pd_log_write_buff_count
+ (value of pd_log_write_buff_count + A)
[Figure] [Figure]{value of pd_log_max_data_size + (68 + 44 + 96 + 160)} [Figure] 4,096[Figure] [Figure] 4,096
+ C + [Figure]{(B + 1) [Figure] 12}[Figure] [Figure] 8,320
Add this when the pd_max_reflect_process_count operand is specified.
128 + 704
A: 16
B: Number of pdlogadfg -d sys operands specified
C: 0
Synchronization point dump server [Figure](368 + 1,456 [Figure] 2) [Figure] 1,024[Figure] [Figure] 1,024
+ [Figure]{(96 + 80 + 208 + 208) + 192 [Figure] (number of pdlogadfg -d spd operands specified)
+ 416 [Figure] (number of pdlogadpf -d spd operands specified) + 1,023}
[Figure] 1,024[Figure] [Figure] 1,024
Common to all units a + b + 64 + (m + 3) [Figure] c + 64 + 48 + d + e
+ (value of pd_max_server_process [Figure] 2 + 100) [Figure] (48 + 16) + 32
+ (value of pd_max_server_process [Figure] 2 + 100 + 384) [Figure] 32 + 32 + f + g + h + i + q
+ (value of pd_max_server_process + 127 + r) [Figure] 32 + 32

a: 25,248 + p [Figure] 4

b: 2,988

c: 1,956

d: 32 [Figure] 32

e: 64 + 64 [Figure] {(m + 3) [Figure] 2
+ MAX (5, ([Figure]m + 3] [Figure] 10[Figure]) + 7}
f: 512 [Figure] (13 + 3) [Figure] 2

g: {(96 + value of pd_lck_until_disconnect_cnt [Figure] 112 + 4,095) [Figure] 4,096}[Figure] 4,096 [Figure] 2

h: [Figure](number of port numbers specified with pd_registered_port [Figure] 16 + 32 + 1,023) [Figure] 1,024[Figure] [Figure] 1,024
If pd_registered_port is omitted: 0
i: If k is 2 or more, 32 + (8 + 8 [Figure] k) [Figure] n
Otherwise, 0

k: Value of pd_lck_pool_partition

m: Value of pd_max_users + value of pd_max_reflect_process_count
n: (m + 3) [Figure] 2 + MAX{5, [Figure](m + 3) [Figure] 10[Figure]} + 7

p: If Y is specified for pd_dbbuff_modify: 512 + value of pd_max_add_dbbuff_shm_no
Otherwise: 512

q: 144

r: When the value of pd_utl_exec_mode is set to 1 and m > 32: (m + 3) [Figure] 3 + m
When the value of pd_utl_exec_mode is set to 0 or m [Figure] 32: (m + 3) [Figure] 3 + 32
Transaction log server

1,024 + 512 [Figure] A

+ {
128 [Figure] B + 128
+ [F + [Figure](128 + 256 + 8 + 224) [Figure] value of pd_log_rec_leng[Figure] [Figure] value of pd_log_rec_leng
+ [Figure](value of pd_log_max_data_size + 68 + 44 + 96 + 160) [Figure] value of pd_log_lec_leng[Figure] [Figure] value of pd_log_rec_leng ] [Figure] D
+ E + (48 + 8) [Figure] B [Figure] 2

} [Figure] number of servers in unit

+ 584 [Figure] B + 128 [Figure] B + 64 [Figure] B [Figure] C + 128

+ {
F + [Figure](128 + 256 + 8 + 224) [Figure] value of pd_log_rec_leng[Figure] [Figure] value of pd_log_rec_leng
+ [Figure](value of pd_log_max_data_size + 68 + 44 + 96 + 160)
[Figure] value of pd_log_lec_leng[Figure] [Figure] value of pd_log_rec_leng
}
+ E + (48 + 8) [Figure] (B [Figure] 2 + 2)

A: 2

B: 7 + (value of pd_max_users + value of pd_max_reflect_process_count) [Figure] 2

C: 1
D: For a single server, if the value of pd_log_rollback_buff_count is 0, D is 8;
otherwise, it is the value of pd_log_rollback_buff_count
For a utility special unit, 0

E: 0

F: 60
Status server [Figure]64 [Figure] 32[Figure] [Figure] 32
Audit trail management server [Figure]A [Figure] 1,024[Figure] [Figure] 1,024
A: 640 if the pd_aud_file_name operand is omitted
640 + (304 [Figure] 200) + B + C if the pd_aud_file_name operand is specified
B: 0 if the pd_aud_async_buff_size operand value is 0
The following value if the pd_aud_async_buff_size operand value is 4,096 or greater:
For Linux:
(160 [Figure] value of pd_aud_async_buff_count operand)
+ {([Figure]value of pd_aud_async_buff_size operand [Figure] 4,096[Figure] [Figure] 4,096)
[Figure] value of pd_aud_async_buff_count operand} + 4,096
For a system other than Linux:
(160 [Figure] value of pd_aud_async_buff_count operand)
+ {([Figure]value of pd_aud_async_buff_size operand [Figure] 4,096[Figure] [Figure] 4,096)
[Figure] value of pd_aud_async_buff_count operand}
C: If N is specified for the pd_aud_auto_loading operand, 0
If Y is specified for the pd_aud_auto_loading operand, 256 [Figure] 2 + 240

(2) 64-bit mode HiRDB

The size of the memory required for the unit controller from startup to termination of a HiRDB single server configuration is the sum of the process items listed as follows:

Process item Shared memory calculation formula (bytes)
Scheduler

Value of pd_utl_exec_mode set to 0:
{[Figure](432 + 304 [Figure] n) [Figure] 1,024[Figure] + 500 + x + [Figure](134 + value of pd_trn_rcvmsg_store_buflen) [Figure] 1,024[Figure]} [Figure] 1,024

Value of pd_utl_exec_mode set to 1:
{[Figure](432 + 304 [Figure] n) [Figure] 1,024[Figure] + [Figure](m [Figure] 2,000 + 136) [Figure] 1,024[Figure] + y + [Figure](134 + value of pd_trn_rcvmsg_store_buflen) [Figure] 1,024[Figure]} [Figure] 1,024

x: Single server: 116 + 5 [Figure] (m + 3) + 14
Utility special unit: 0

y: Single server: 5 [Figure] (m + 3) + 14
Utility special unit: 0

m: Value of pd_max_users + value of pd_max_reflect_process_count

n: Number of servers in unit + number of utility servers in unit + 1
Number of utility servers in the unit: 27 + [Figure]
[Figure]: If there is a single server in the unit, 12; otherwise, 0
Lock server
  • For a unit other than a utility special unit
(496 + 80 + c + d + 64 + 8,192 + g + 80 + i + 64 + 8,192 + 64 + n + t + u + 16)
[Figure] value of pd_lck_pool_partition
c: When pd_lck_hash_entry is omitted or 0 is specified:
([Figure](8 + 8 [Figure] MAX(largest prime number < [Figure]((p + 3) [Figure] (value of pd_max_access_tables + 4 + 5 [Figure] 2)
+ [Figure]value of pd_lck_pool_size [Figure] value of pd_lck_pool_partition[Figure] [Figure] 4) [Figure] 10[Figure] [Figure], 11,261)) [Figure] 16[Figure] + 1) [Figure] 16
When 2 or a greater non-prime number is specified for pd_lck_hash_entry:
([Figure](8 + 8 [Figure] largest prime number < value of pd_lck_hash_entry) [Figure] 16[Figure] + 1)
[Figure] 16
When 1 or a prime number is specified for pd_lck_hash_entry:
([Figure](8 + 8 [Figure] value of pd_lck_hash_entry) [Figure] 16[Figure] + 1) [Figure] 16
d: ((p + 3) [Figure] (value of pd_max_access_tables + 4 + 5 [Figure] 2) +
[Figure]value of pd_lck_pool_size [Figure] value of pd_lck_pool_partition[Figure] [Figure] 4) [Figure] 128
g: When value of pd_utl_exec_mode = 1 and p > 32:
((p + 3) [Figure] 3 + p) [Figure] 320
When value of pd_utl_exec_mode = 0 or p [Figure] 32:
((p + 3) [Figure] 3 + 32) [Figure] 320
i: When value of pd_utl_exec_mode = 1 and p > 32:
(([Figure]value of pd_lck_pool_size [Figure] value of pd_lck_pool_partition[Figure] [Figure] 5 + ((p + 3)
[Figure] (value of pd_max_access_tables + 4)) [Figure] 2)
+ [Figure]([Figure]value of pd_lck_pool_size [Figure] value of pd_lck_pool_partition[Figure]) [Figure] 3[Figure] + p [Figure] (value of pd_max_rdarea_no + 1)
+ (p + 3) [Figure] 2 [Figure] 2 [Figure] 5)
rounded up to the next even value [Figure] 112
When value of pd_utl_exec_mode = 0 or p [Figure] 32:
(([Figure]value of pd_lck_pool_size [Figure] value of pd_lck_pool_partition[Figure] [Figure] 5 + ((p + 3)
[Figure] (value of pd_max_access_tables + 4)) [Figure] 2)
+ [Figure]([Figure]value of pd_lck_pool_size [Figure] value of pd_lck_pool_partition[Figure]) [Figure] 3[Figure] + 32 [Figure] (value of pd_max_rdarea_no + 1)
+ (p + 3) [Figure] 2 [Figure] 2 [Figure] 5)
rounded up to the next even value [Figure] 112
n: When value of pd_utl_exec_mode = 1 and p > 32:
((p + 3) [Figure] 3 + p) [Figure] 80
When value of pd_utl_exec_mode = 0 or p [Figure] 32:
((p + 3) [Figure] 3 + 32) [Figure] 80
p: value of pd_max_users + value of pd_max_reflect_process_count
t: When value of pd_utl_exec_mode = 1 and p > 32:
48 + ((p + 3) [Figure] 3 + p) [Figure] [Figure]value of pd_max_open_holdable_cursors [Figure] 16[Figure] [Figure] 4
When value of pd_utl_exec_mode = 0 or p [Figure] 32:
48 + ((p + 3) [Figure] 3 + 32) [Figure] [Figure]value of pd_max_open_holdable_cursors [Figure] 16[Figure] [Figure] 4
u: When value of pd_utl_exec_mode = 1 and p > 32:
48 + (([Figure]value of pd_lck_pool_size [Figure] value of pd_lck_pool_partition[Figure] [Figure] 5 + ((p + 3)
[Figure] (value of pd_max_access_tables + 4)) [Figure] 2)
+ [Figure]value of pd_lck_pool_size [Figure] value of pd_lck_pool_partition[Figure] [Figure] 3[Figure] + p [Figure] (value of pd_max_rdarea_no + 1)
+ (p + 3) [Figure] 2 [Figure] 2 [Figure] 5)
rounded up to the next even value [Figure] [Figure]value of pd_max_open_holdable_cursors [Figure] 16[Figure] [Figure] 4
When value of pd_utl_exec_mode = 0 or p [Figure] 32:
48 + (([Figure]value of pd_lck_pool_size [Figure] value of pd_lck_pool_partition[Figure] [Figure] 5 + ((p + 3)
[Figure] (value of pd_max_access_tables + 4)) [Figure] 2)
+ [Figure]value of pd_lck_pool_size [Figure] value of pd_lck_pool_partition[Figure] [Figure] 3[Figure] + 32 [Figure] (value of pd_max_rdarea_no + 1)
+ (p + 3) [Figure] 2 [Figure] 2 [Figure] 5)
rounded up to the next even value [Figure] [Figure]value of pd_max_open_holdable_cursors [Figure] 16[Figure] [Figure] 4
  • For a utility special unit
16,704
Transaction server 304 + 32 + 192 [Figure] m [Figure] 2 + 1,048
+ (416 + 720 + 256 + 392 [Figure] 2 + 128) [Figure] (m [Figure] 2 + 7) + 256 [Figure] 2

m: Value of pd_max_users + value of pd_max_reflect_process_count
Timer server

32 [Figure] (value of pd_max_users + value of pd_max_reflect_process_count + 3) [Figure] (1 + number of utility servers in unit + 1) + 1,440 + (48 - 32) [Figure] 2

Number of utility servers in unit is 26 + [Figure]
[Figure]: For HP-UX, Solaris, and AIX, with a single server in the unit: 12. For Linux, with a single server in the unit: 3.
Statistics log server 424 + 128 [Figure] 16 + 32 + 288 [Figure] 2 + 1,168 + 144 [Figure] 3
+ value of pd_stj_buff_size [Figure] 1,024 [Figure] 3 + 64 + 4,096 + 8,192
Process server 208 + 528 [Figure] a + 80 + 256 + (value of pd_max_server_process + 50) [Figure] (256 + 160) + 16 + 8 [Figure] 16 + 16 + 16 + 64 + 64 [Figure] (b + 1)
a: For a single server: 131
For a utility special unit: 106
b: If the operand pd_module_trace_max is specified in the system common definition or the unit control information definition: value of pd_module_trace_max
If not: 16,383
Single server 736 + (48 + 8) [Figure] a [Figure] 2 + (112 + 8) [Figure] (b + 30 + 2) + (104 + 8) [Figure] (c + 1) + 40 [Figure] b [Figure] 14 + 256 + 256 + 40 [Figure] d + 16 [Figure] e + 8 + 5,864 + 256 + f + 16 + 1,024 + 272 [Figure] h
a: Number of single server definitions
b: Number of single servers in unit
c: Number of units
d: Number of -c options specified in pdunit operand
e: Number of pdcltgrp operands specified
f: 2,056 + 128 [Figure] (g + 3)
g: For a single server: 92. For a utility special unit: 74.
h: Number of IP addresses for the host specified in the pd_security_host_group operand
If the pd_security_host_group operand is not specified, 0
Name server 169,984
Node manager [Figure](1,312 + 464 [Figure] total number of units in HiRDB system
+ 96 [Figure] total number of servers in HiRDB system + 10,240 + 1,200
+ 72 [Figure] number of HiRDB servers in the unit + 240 [Figure] A + 44 [Figure] A + 28 [Figure] A + 16 [Figure] B + 48)
[Figure] 1,024[Figure] [Figure] 1,024

A: pd_utl_exec_mode = 0: 1,024
pd_utl_exec_mode = 1 and the unit contains a single server: (value of pd_max_users + value of pd_max_reflect_process_count) [Figure] 10 + 400
pd_utl_exec_mode = 1 and the unit contains no single server: (value of pd_max_users + value of pd_max_reflect_process_count) [Figure] 7
If the value of A does not exceed 1,024, use 1,024 as the value of A.

B: pdcltgrp operand not specified: 0
pdcltgrp operand specified: Number of pdcltgrp operands specified + 1
I/O server [Figure](56 + ([Figure](56 + A) [Figure] 32[Figure] [Figure] 32)) [Figure] 128[Figure] [Figure] 128

A: 3,248 + (14 + 16) [Figure] 972 + 1 [Figure] 276 + 534 [Figure] 276 + 16 [Figure] 276
+ value of pd_max_file_no [Figure] 972 + (48 - 32) [Figure] 3
For a utility special unit: (3,248 + (14 + 16) [Figure] 972 + 1 [Figure] 276) + (48 - 32) [Figure] 3 bytes
Log server 32 + 48 + 128 [Figure] 19 + 432 + 128 [Figure] 7 + 1,168 + 512
+ [Figure](128 + 256 + 160 + 8 + 64) [Figure] value of pd_log_rec_leng[Figure] [Figure] value of pd_log_rec_leng
+ 64 + 4,096 [Figure] 2 + (768 + 512) [Figure] B
+ 144 [Figure] value of pd_log_write_buff_count
+ (value of pd_log_write_buff_count + A)
[Figure] [Figure]{value of pd_log_max_data_size + (68 + 44 + 96 + 160)} [Figure] 4,096[Figure] [Figure] 4,096
+ C + [Figure]{(B + 1) [Figure] 12}[Figure] [Figure] 8,320
Add this when the pd_max_reflect_process_count operand is specified.
128 + 704
A: 16
B: Number of pdlogadfg -d sys operands specified
C: 0
Synchronization point dump server [Figure](384 + 1,536 [Figure] 2) [Figure] 1,024[Figure] [Figure] 1,024
+ [Figure]{(128 + 80 + 240 + 240) + 192 [Figure] (number of pdlogadfg -d spd operands specified)
+ 416 [Figure] (number of pdlogadpf -d spd operands specified) + 1,023}
[Figure] 1,024[Figure] [Figure] 1,024
Common to all units a + b + 80 + (m + 3) [Figure] c + 64 + 48 + d + e
+ (value of pd_max_server_process [Figure] 2 + 100) [Figure] (64 + 16) + 32
+ (value of pd_max_server_process [Figure] 2 + 100 + 384) [Figure] 32 + 32 + f + g + h + i + q
+ (value of pd_max_server_process + 127 + r) [Figure] 48 + 32
a: 34,656 + p [Figure] 4
b: 3,480
c: 2,760
d: 48 [Figure] 32
e: 80 + 96 [Figure] {(m + 3) [Figure] 2
+ MAX (5, ([Figure]m + 3] [Figure] 10[Figure]) + 7}
f: 512 [Figure] (13 + 3) [Figure] 2
g: {(128 + value of pd_lck_until_disconnect_cnt [Figure] 112 + 4,095) [Figure] 4,096} [Figure] 4,096 [Figure] 2
h: [Figure](number of port numbers specified with pd_registered_port [Figure] 16 + 32 + 1,023) [Figure] 1,024[Figure] [Figure] 1,024
If pd_registered_port is omitted: 0
i: If k is 2 or more, 32 + (8 + 8 [Figure] k) [Figure] n
Otherwise, 0
k: Value of pd_lck_pool_partition
m: Value of pd_max_users + value of pd_max_reflect_process_count
n: (m + 3) [Figure] 2 + MAX{5, [Figure](m + 3) [Figure] 10[Figure]} + 7
p: If Y is specified for pd_dbbuff_modify: 512 + value of pd_max_add_dbbuff_shm_no + value of pd_max_resident_rdarea_shm_no
Otherwise: 512 + value of pd_max_resident_rdarea_shm_no
q: HP-UX (IPF) 64-bit mode: 256
Otherwise: 144
r: When the value of pd_utl_exec_mode is set to 1 and m > 32: (m + 3) [Figure] 3 + m
When the value of pd_utl_exec_mode set to 0 or m [Figure] 32: (m + 3) [Figure] 3 + 32
Transaction log server

1,168 + 688 [Figure] A

+ {
128 [Figure] B + 144
+ [G + [Figure](128 + 256 + 8 + 224) [Figure] value of pd_log_lec_leng[Figure] [Figure] value of pd_log_rec_leng
+ [Figure](value of pd_log_max_data_size + 68 + 44 + 96 + 160) [Figure] value of pd_log_lec_leng[Figure]
[Figure] value of pd_log_rec_leng] [Figure] D
+ E + (48 + 8) [Figure] B [Figure] 2
} [Figure] number of servers in unit

+ 600 [Figure] B + 128 [Figure] B + 64 [Figure] B [Figure] C + 144

+ {
G + [Figure](128 + 256 + 8 + 224) [Figure] value of pd_log_lec_leng[Figure] [Figure] value of pd_log_rec_leng
+ [Figure]value of pd_log_max_data_size + 68 + 44 + 96 + 160)
[Figure] value of pd_log_lec_leng[Figure] [Figure] value of pd_log_rec_leng
}
+ E + (48 + 8) [Figure] (B [Figure] 2 + 2)
A: 2
B: 7 + (value of pd_max_users + value of pd_max_reflect_process_count) [Figure] 2
C: 1
D: For a single server, if the value of pd_log_rollback_buff_count is 0, D is 8;
otherwise, it is the value of pd_log_rollback_buff_count
For a utility special unit, 0
E: 0
G: 64
Status server [Figure]64 [Figure] 32[Figure] [Figure] 32
Audit trail management server [Figure]A [Figure] 1,024[Figure] [Figure] 1,024
A: 704 if the pd_aud_file_name operand is omitted
704 + (320 [Figure] 200) + B + C if the pd_aud_file_name operand is specified
B: 0 if the pd_aud_async_buff_size operand value is 0
The following value if the pd_aud_async_buff_size operand value is 4,096 or greater:
For Linux version:
(176 [Figure] value of pd_aud_async_buff_count operand)
+ {([Figure]value of pd_aud_async_buff_size operand [Figure] 4,096[Figure] [Figure] 4,096)
[Figure] value of pd_aud_async_buff_count operand} + 4,096
For non-Linux versions:
(176 [Figure] value of pd_aud_async_buff_count operand)
+ {([Figure]value of pd_aud_async_buff_size operand [Figure] 4,096[Figure] [Figure] 4,096)
[Figure] value of pd_aud_async_buff_count operand}
C: If N is specified for the pd_aud_auto_loading operand, 0
If Y is specified for the pd_aud_auto_loading operand, 256 [Figure] 2 + 256